Hello,
I'm sorry to react to late, because my workload is heavy.
found below the part of the code with the problem.
Thank you
I don't known if you want more?
Best regards
André
The code is divided in two parts: Coldfusion and Javascript.
ColdFusion:
<form action="?event=#request.event.getArg('formEvent')#" method="post"
name="cherche">
<table style="width:97%" class="form" summary="">
<tr>
<td style="width:20%; text-align:left; color:##2A5FAA; font-size:1.2em;
font-weight:bold;">1) Select language:</td>
<td style="width:80%; text-align:left">
<select name="l_langue" id="L_langue" style="width:10%" onchange =
"ch_action(3,'')">
<cfloop query="request.langueResult">
<option value="#COMMODITIES_LANGUE#" <cfif #COMMODITIES_LANGUE# is
'#session.lg#'>selected="selected"</cfif>>#COMMODITIES_LANGUE#</option>
</cfloop>
</select>
</td>
</tr>
</table>
</form>
Javascript:
function ch_action(f, ac){
switch(f)
{
case 1:
.....
document.cherche.submit();
break;
case 2:
.....
document.charge.submit();
break;
case 3: // Formulaire sélection susbtance
if (ac.length > 0){
document.cherche.action="?event="+ ac;}
else{
document.cherche.action="?event=commodity.selection";
}
document.cherche.submit();
break;
default:
alert("Command Error");
break;
}
}
In article <
93fdab75-1caa-4baf...@googlegroups.com>, Doncisco
says...