How to include a java script in a form
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Sure, you can include script with HTML-control, but if this script is used in multiple forms it will be better to include it in the master-page.
In my "Master Pages" in SharePoint Designer I have the following:
AdvancedSearchLayout.aspx
DefaultLayout.aspx
minimal.master
NewsHomeLayout.aspx
oslo.master
PeopleSearchResults.aspx
ReportCenterLayout.aspx
SearchMain.aspx
SearchResults.aspx
seattle.master
TabViewPageLayout.aspx
v4.master
welcomelayout2.aspx
My guess is I should put the <script> tag in either the:
DefaultLayout.aspx
oslo.master
seattle.master
In which file should I put the script tag?
AdvancedSearchLayout.aspx
DefaultLayout.aspx
minimal.master
NewsHomeLayout.aspx
oslo.master
PeopleSearchResults.aspx
ReportCenterLayout.aspx
SearchMain.aspx
SearchResults.aspx
seattle.master
TabViewPageLayout.aspx
v4.master
welcomelayout2.aspx
My guess is I should put the <script> tag in either the:
DefaultLayout.aspx
oslo.master
seattle.master
In which file should I put the script tag?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Your current master-page is seattle.master
-
- Information
-
Who is online
Users browsing this forum: No registered users and 17 guests