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]

Combo box and event Onchange


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

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