troubleshooting Question

How to call javascript function inside my XSL

Avatar of vmandem
vmandem asked on
Web Languages and StandardsJScript
10 Comments1 Solution4745 ViewsLast Modified:
I have the below XSL part of code. How to call a javascript function to change the select value inside the  <xsl:value-of select="my javascript"> But I get error. The XSL is inside the webpart.

<a href="{$fieldvalue}"><xsl:value-of select="hithighlightedproperties/HHTitle/text()" />


<xsl:if test="$fieldtitle">: </xsl:if>
					<xsl:choose>
						<xsl:when test="$fieldtype='url'">
							<a href="{$fieldvalue}"><xsl:value-of select="hithighlightedproperties/HHTitle/text()" />
							</a>
						</xsl:when>
						<xsl:when test="$fieldtype='user'">
							<xsl:value-of select="$fieldvalue" disable-output-escaping="yes" />
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="hithighlightedproperties/HHTitle/text()" />
						</xsl:otherwise>
					</xsl:choose>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros