RE: Combo box and event Onchange

Subject: RE: Combo box and event Onchange
From: "Igor Nakshin" <inakshin@xxxxxxxxxxx>
Date: Thu, 6 Apr 2000 09:36:37 -0500

> When I dispay the value pass to my javascript function (with alert in
> javascrip), there is no value.

That's a different problem.

try something like

<xsl:element name="select">
 <xsl:attribute name="id">mycombo</xsl:attribute>
   <xsl:attribute name="OnChange">ChargeRecherche()/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"/>

<script language="javascript">
function ChargeRecerche() {

Depending on the browser you are using you might need to change reference to
my combo object in
javascript to document.all[] or something like that.


 XSL-List info and archive:

Current Thread