This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]