Hi,
Why this javascript code not working in my jx, this is the code:
<script type="text/javascript" >
<![CDATA[
function actualizar(){
var i=0;
for(i=0;i<=4;i++){
alert('hola');
}
}
]]>
</script>
<select name="selector1" onchange="actualizar()">
<option value="-1">Seleccionar</option>
</select>
I think that the for bucle in javascript function not work, with a function
like this:
<script type="text/javascript" >
<![CDATA[
function actualizar(){
alert('Hola');
}
]]>
</script>
It´s work perfect.
Any ideas, Thanks.
--
View this message in context:
http://www.nabble.com/JavaScript-in-jx-tp22554524p22554524.html
Sent from the Lenya - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]