Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xslt build onclick event? 1

Status
Not open for further replies.

Tarnish

Technical User
Nov 13, 2006
221
US
Hi all,

I need to use xslt to build an onclick event for a link. I have an xml file that contains a bunch of variables (in one node) that I need to feed into a function.

Anyone know how to do that?

Thanks,
T
 
I simply link to a js that handles my event code using the following code.

Code:
<xsl:attribute name="onclick">showlist('<xsl:value-of select="Option"/>ListOption')
 
Thanks a lot for the reply, goofy.

That's pretty much what I was trying but no luck so far. I'll give it another go.

T
 
Got it all worked out now.

Thanks again,
T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top