[xsl] Help : Passing value from xsl:value-of element to javascript

Subject: [xsl] Help : Passing value from xsl:value-of element to javascript
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx (by way of Mulberry Technologies List Owner)
Date: Sat, 24 Mar 2001 15:05:16 -0500
Date: Sat, 24 Mar 2001 01:49:05 -0800 (PST)
From: tejas raval <tejasbraval@xxxxxxxxx>
Subject: Help : Passing value from xsl:value-of  element to javascript
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Hi,

I want to pass the value of element that is clicked on
by mouse in XSL file. The value should be trapped and
passed on to the javascript function. Here is the code
i am using to do it, but still in the javascript
function the value i get is undefined.

The following line is inside the for loop to display
the multiple values.

<td bgcolor="EAEAEA"><a
href="javascript:catchcode()"><xsl:value-of
select="Code"/></a></td> 

Can anyone suggest some way out...

Thanks,

Tejas.

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread