This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Help : Passing value from xsl:value-of element to javascript
- To: xsl-list <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Help : Passing value from xsl:value-of element to javascript
- From: owner-xsl-list at lists dot mulberrytech dot com (by way of MulberryTechnologies List Owner)
- Date: Sat, 24 Mar 2001 15:05:16 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
Date: Sat, 24 Mar 2001 01:49:05 -0800 (PST)
From: tejas raval <tejasbraval@yahoo.com>
Subject: Help : Passing value from xsl:value-of element to javascript
To: XSL-List@lists.mulberrytech.com
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