|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Combo box and event Onchange
> > >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Steve Tinney >Sent: 06 April 2000 13:14 >To: xsl-list@xxxxxxxxxxxxxxxx >Subject: Re: Combo box and event Onchange > > >> This gives to me the combo box but the OnChnage event doesn't work.doesn't >> work >> ChargeRecherche is a javascript function and I want to pass the value of the >> Id selected. > >What does 'doesn't work' mean in this context? Your code seems OK, >assuming that the context node has an attribute named Id. > > Steve > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list there is a "<" missing in front of /xsl:attribute..................but i guess nothing would be processed if that is the case....try <xsl:text>ChargeRecherche(</xsl:text><xsl:value-of select="@Id"/><xsl:text>)</xsl:text> instead. <xsl:element name="select"> <xsl:attribute name="OnChange"> ChargeRecherche(<xsl:value-of select="@Id"/>)/xsl:attribute> <xsl:attribute name="name">listeRecherche</xsl:attribute> <xsl:for-each select="liste"> <xsl:element name="option"> <xsl:attribute name="value"> <xsl:value-of select="@Id"/> </xsl:attribute> <xsl:value-of select="@Name"/> </xsl:element> </xsl:for-each> </xsl:element> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








