How to add JQuery in Html gadgets
-
Tuesday, February 14, 2012 2:03 PM
I try add Html Gadget by:
but:
How to fix it
Dennis
All Replies
-
Tuesday, February 14, 2012 10:28 PM
There's a couple of things that you could change. There are two versions of jQuery being loaded. One should be enough. It is also important that the version of jQuery is compatible with the cycle plug-in.
The defer property on the script tags also ensures that the scripts are loaded after the page is loaded. There might be an issue that some of the javascript code is executed before the jQuery library is initialized. You could use the jQuery ready event to call your javascript method.
$(document).ready(function() { // Handler for .ready() called. });
- Proposed As Answer by Varun Malhotra Wednesday, February 15, 2012 2:10 AM
- Marked As Answer by Qiao WeiMicrosoft Contingent Staff, Moderator Thursday, February 23, 2012 10:44 AM
- Unmarked As Answer by Dennis Zeng 曾 晖 Wednesday, August 22, 2012 12:29 PM
-
Wednesday, August 22, 2012 7:17 PM
The last answer is not working.
Someone help me.
Dennis
-
Monday, August 27, 2012 6:31 PM
If in Content editor webpart of SharePoint webpart page. Up coding is OK.
But in Html Gadget of Public page, Up coding is not working
Dennis
-
Thursday, August 30, 2012 7:59 PM

