This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Combo box and event Onchange
- To: <xsl-list at mulberrytech dot com>
- Subject: Combo box and event Onchange
- From: catherine dot blas at softsolutions dot fr (SoftFrance BLAS Catherine)
- Date: Thu, 6 Apr 2000 11:20:26 +0200
- Reply-To: xsl-list at mulberrytech dot com
Hello,
I want to do a combo box and pass the Id selected on the event Onchange. My
combo box looks like this :
<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>
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.
Is it possible, and if it is, how can I do this ?
Thanks in advance
Catherine
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list