Saturday 13 August 2011

Add javascript in XSLT View Web part in Sharepoint 2010


If you want to add any javascript in your XSLT View Web part in Sharepoint 2010 .. you can simply add that after template match in CDATA.

<xsl:template match="/">
 
![CDATA[someText]

//Javascript goes here


]>

Enjoy!

Ads by Google

No comments:

Post a Comment