Friday, May 27, 2011

Sharepoint 2010 designer adding javascript to pages

A simple way to add javascript code in Sharepoint pages in designer

1. Open the site in Sharepoint designer
2. Slect the desired pages from 'Site Pages' in designer
3. Goto Split or Code mode and add this below javascript code :-)

 4. You will get analert message when page loads !!

   

No comments:

Post a Comment