Facebook Twitter Gplus LinkedIn YouTube Google Maps RSS
Home Technical How to add JQuery to SharePoint MasterPage
formats

How to add JQuery to SharePoint MasterPage

Scripts Library is the name of the folder I created for storing JQuery

Add it in the Head section of the Page

<script type=”text/javascript”>

if(typeof jQuery==”undefined”){

var jQPath=”/Scripts Library/”;

document.write(“<script src=’”,jQPath,”jquery-1.4.4.min.js’ type=’text/javascript’><\/script>”);

}

</script>

 
Tags: , ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

12,871 Spam Comments Blocked so far by Spam Free Wordpress

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© All rights reserved to Cyberbrutus. 2012
credit

Switch to our mobile site