Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [spbodyonload]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

'$' is undefined

I am getting the message '$' is undefined below is my code these are the script tags i am using script type="text/javascript" src="" /...
Tony Danza's user avatar
1 vote
2 answers

spBodyOnLoadFunctionNames not working on Master Page

we are trying to execute some script after the master page loads. <script language="javascript"> _spBodyOnLoadFunctionNames.push("FunctionName"); function FunctionName() ...
variable's user avatar
  • 4,470
2 votes
4 answers

_spBodyOnLoadFunctionNames not always working

This is in reference to SharePoint 2010. I am writing some custom javascript that needs to know when the page has finished loading. To accomplish this I am pushing my callback function on to the ...
Jeff's user avatar
  • 105
1 vote
0 answers

_spBodyOnLoadFunctionNames.push Not working in firefox

I tried this in firefox i dont know why its not working but it working in other browsers function loadmonth() { alert('called'); } _spBodyOnLoadFunctionNames.push("loadmonth");
Rajesh Chowdary's user avatar
1 vote
2 answers

refresh DataViewWebPart in _spBodyOnLoadFunctionNames with javascript

is there a way that is not too complicated too refresh just a dataview web part on a sharepoint site when loading the page in _spBodyOnLoadFunctionNames.push using javascript? What I've done is ...
Carel's user avatar
  • 1,000
2 votes
1 answer

XsltListViewWebPart remembering state in cookie not working properly

I have a XsltListViewWebpart that shows a tree structure with nodes. I made a jquery script that sets a cookie which persists the state of the nodes (expanded/collapsed) between postbacks. I added ...
Amc_rtty's user avatar
  • 127
11 votes
6 answers

Risk of conflict between jQuery document ready and _spBodyOnLoadFunctionNames?

I recently read in the jQuery documentation that: The .ready() method is generally incompatible with the body onload attribute. If load must be used, either do not use .ready() or use jQuery's ....
Christophe's user avatar
  • 5,301