Subject: RE: [xsl] Help : Passing value from xsl:value-of element to javascript From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Sat, 24 Mar 2001 20:45:21 -0000 |
Tejas, If I understand you correctly you want something like <td bgcolor="EAEAEA"><a href="javascript:catchcode('{@Code}')"><xsl:value-of select="Code"/></a></td> Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] >Sent: 24 March 2001 20:05 >To: xsl-list >Subject: [xsl] Help : Passing value from xsl:value-of element to >javascript > > >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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Help : Passing value from xsl, by way of Mulberry T | Thread | [xsl] xsl:call-template : How to us, Armand Delcros |
[xsl] Help : Passing value from xsl, by way of Mulberry T | Date | Re: [xsl] xsl 1.1 security model?, David Carlisle |
Month |