Answered Javascript in SharePoint page using SharePoint Designer 2010

  • 2012年3月13日 16:41
     
     

    Hi,

    I am trying to learn more about customizing SharePoint pages like list form using JavaScript and SP Designer 2010. I came to know about PreSaveAction, _spBodyOnLoadFunctionNames.push("test") etc but I wanted to know the basics.

    • Can anyone please provide some links to learn about SharePoint pages customization by using JavaScript?
    • How is the function "PreSaveAction" binded to PreSave action?
    • Do we have any other inbuilt functions like PreSaveAction that can be used?
    • Should we always place the script inside "PlaceHolderAdditionalPageHead" placeholder? If not, Can we put it under any placeholder without any restrictions?
    • Can we use "JS" file to hold all our script and call it from a SP page?
    • When do we need to place the script in case of Master page?

    Thanks


    • 已编辑 SamRaja 2012年3月13日 22:35
    •  

全部回复