This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Combo box and event Onchange
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Combo box and event Onchange
- From: Benoît BARRE <benoit dot barre at teluco dot com>
- Date: Thu, 6 Apr 2000 13:52:08 +0200
- Reply-To: xsl-list at mulberrytech dot com
Hi Catherine,
Try
<xsl:attribute name="OnChange">ChargeRecherche('<xsl:value-of
select="@Id"/>')/xsl:attribute>
Benoît
-----Message d'origine-----
De : catherine.blas@softsolutions.fr
[mailto:catherine.blas@softsolutions.fr]
Envoyé : jeudi 6 avril 2000 11:20
À : xsl-list@mulberrytech.com
Objet : 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list