To use any node(item) value in custom SharePoint page for SharePoint list using javascript you can use like this.
GetPic(var status)
{Put your code here}
Call JavaScript Function
{script type="text/javascript"}
document.write(GetPic("{xsl:value-of select="@Status" /}" ) )
{/script}
Replace curly brackets with respective angular brackets.
Hope that will help you.
No comments:
Post a Comment