Tag Info

Hot answers tagged

3

The problem is likely because you are using jQuery 2.0 which does not have support for IE 6/7/8 or IE 9/10 when running in compatibility mode (which I'm guessing SP 2010 is using. You can confirm this by using the F12 developer tools). I would recommend using jQuery 1.9.1 for use with SharePoint and so you still have support for the older browsers.


3

I think the problem is src attribute of tag. Try <script src="/StyleLibrary/js/jquery-1.9.1.min.js" /> and take a look at this article Edit If you decide to store js in _layouts folder, use <SharePoint:ScriptLink runat="server" ID="ScriptLinkJQuery" name="/Js/jquery-1.9.1.min.js" Localizable="false" />


1

To work with the SharePoint JS library you must have the SP.js at least: <script type="text/javascript" src="/_layouts/SP.js"></script> <script type="text/javascript" src="/_layouts/SP.UI.Dialog.js"></script> <script type="text/javascript" src="/_layouts/SP.Core.js"></script>


1

My problem solved - Upon examining the DispForm.aspx page in SharePoint Designer, as I have mentioned before, the content of the Multiple Lines Rich Text type column is displayed using the XSLT code - <xsl:value-of select="@Progress_x0020_Comments"/> The solution is to include the attribute "disable-output-escaping" and set it to "yes" So the ...


1

write javascript on page or place content editor webpart on page and linkup with your js <script src="jquery file path" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { // do whatever operations with any element $('#s4-workspace').hide(); $('#s4-workspace').show(); ...


1

Sure you can, almost all of the elements from the masterpages has an id and / or multiple classes that can help you identify them with jQuery. Use the Content Editor WebPart and add your scripts in the HTML window of the webpart. To identify the ID:s for specific elements in the DOM I recommend you to just inspect the page with the developer tools in your ...



Only top voted, non community-wiki answers of a minimum length are eligible