Timeline for How do I convert this code to JQuery
Current License: CC BY-SA 3.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Mar 29, 2018 at 7:41 | history | suggested | Abdul Hameed | CC BY-SA 3.0 |
added formatting for the code
|
Mar 29, 2018 at 7:13 | review | Suggested edits | |||
S Mar 29, 2018 at 7:41 | |||||
Apr 13, 2017 at 12:41 | history | edited | CommunityBot |
replaced http://sharepoint.stackexchange.com/ with https://sharepoint.stackexchange.com/
|
|
Dec 27, 2012 at 11:13 | comment | added | Rajesh Chowdary | mark as correct answer so it will help to others | |
Dec 27, 2012 at 11:13 | vote | accept | Akhoy | ||
Dec 27, 2012 at 11:06 | comment | added | Rajesh Chowdary | it will automatically takes current context | |
Dec 27, 2012 at 11:05 | comment | added | Rajesh Chowdary | Replace var clientContext = new SP.ClientContext(siteUrl); with this var clientContext = new SP.ClientContext.get_current(); currentweb = clientContext .get_web(); | |
Dec 27, 2012 at 11:02 | comment | added | Akhoy | Didn't help. That just closes the debug window. I meant the SharePoint page being frozen. Clicking on Page or Browse doesn't help. Thanks. | |
Dec 27, 2012 at 10:58 | comment | added | Rajesh Chowdary | :) press F12 again | |
Dec 27, 2012 at 10:57 | comment | added | Akhoy | Ah, saw the error... it said "siteUrl not defined". Can't believe I made such a basic error. Thanks! But the page seems to have frozen. How do i come out of that? Even refreshing it doesn't help. | |
Dec 27, 2012 at 10:55 | comment | added | Rajesh Chowdary | if not use this code _spBodyOnLoadFunctionNames.push("loadsp"); function loadsp() { ExecuteOrDelayUntilScriptLoaded(createListItem, "sp.js"); } | |
Dec 27, 2012 at 10:54 | comment | added | Rajesh Chowdary | have you added sp.js to your page | |
Dec 27, 2012 at 10:49 | comment | added | Rajesh Chowdary | no problem press F12 key and select console tab and check for the error | |
Dec 27, 2012 at 10:47 | comment | added | Rajesh Chowdary | are you using firefox browser if so please install firebug (addons.mozilla.org/en-US/firefox/addon/firebug) and check console tab and refresh the browser and check for error | |
Dec 27, 2012 at 10:45 | comment | added | Akhoy | Tried. It freezes up my screen after reloading. | |
Dec 27, 2012 at 10:45 | answer | added | Rajesh Chowdary | timeline score: 0 | |
Dec 27, 2012 at 10:40 | review | First posts | |||
Dec 27, 2012 at 14:02 | |||||
Dec 27, 2012 at 10:40 | comment | added | Rajesh Chowdary | _spBodyOnLoadFunctionNames.push("createListItem"); use this insteed of $(document).ready(function() { createListItem(); }); | |
Dec 27, 2012 at 10:32 | history | edited | Akhoy | CC BY-SA 3.0 |
added 1123 characters in body
|
Dec 27, 2012 at 10:22 | history | asked | Akhoy | CC BY-SA 3.0 |