Showing posts with label How to add script reference in SharePoint JS Links. Show all posts
Showing posts with label How to add script reference in SharePoint JS Links. Show all posts

Thursday, 3 April 2014

How to add script reference in SharePoint JS Links

How to add script reference in SharePoint JS Links
Open js file.
You will find : (function () {
Inside above tag add :
(window.jQuery || document.write('<script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.10.0.min.js"><\/script>'));
Final Code.
(function () {
(window.jQuery || document.write('<script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.10.0.min.js"><\/script>'));

Friday, 14 March 2014

How to add script reference in SharePoint JS Links

How to add script reference in SharePoint JS Links
Open js file.
You will find : (function () {
Inside above tag add :
(window.jQuery || document.write('<script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.10.0.min.js"><\/script>'));
Final Code.
(function () {
(window.jQuery || document.write('<script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.10.0.min.js"><\/script>'));