Tag Info

New answers tagged


This looks like a scoping issue. $.cookie("coo", txt); is outside of the $(document).ready function. Put it inside the function: $(document).ready(function(){ $("input.search").change(function() { var txt = $("input.search").val(); if (txt) { $("#WebPartWPQ2").find("tr.ms-itmhover:not(:Contains("+txt+"))").hide(); ...


I wrote about this same thing in my blog. (Not trying to plug). Here is the jist of the solution. Use local storage in HTML. <script type=”text/javascript” src=”../../Style Library/js/jquery-1.11.1.min.js”></script> <script type=”text/javascript”> $(document).ready(function(){ ...


You could wrap the contents of your content editor web part in a div and apply styling/attributes to the div to center it on the page.


You should be able to get the ID of the Search Web Part and then use the align center code. align="center" align Attribute


The code you tried is basically getting the current page's webpart manager and then adding new webpart to it. The ideal solution to your problem is by extending System.Web.UI.WebControls.WebParts.WebPart and overriding CreateChildControls Here is one thread that explains this ...


Like Amal said, it's not easy with CSS, because FontAwesome already uses :before and :after. One possibility is to solve this with JavaScript on runtime. Try something like this: function AppendMenuFontAwesomeIcons() { var elements = document.querySelectorAll('ul[id^=zz][id$=_RootAspMenu] li span.menu-item-text'); for (var i = 0; i < ...


Forgot to give an answer to this last year, but here it is anyway. It was indeed a corrupted list. Recreating the list as a new one solved the problem.

Top 50 recent answers are included