Combo box and event Onchange

Subject: Combo box and event Onchange
From: catherine.blas@xxxxxxxxxxxxxxxx (SoftFrance BLAS Catherine)
Date: Thu, 6 Apr 2000 11:20:26 +0200

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:value-of select="@Name"/>

This gives to me the combo box but the OnChnage event doesn't work.doesn't
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


 XSL-List info and archive:

Current Thread