Hi all!
I have this javascript code
function funcion() {
var el = document.getElementsByName("radio1");
if (el[0].checked) { alert(el[0].value);
location.href="http://gaia.nexonodo.com/index.php?option=com_chronocontact&chronoformname=conocer_mejor_o_e";
alert("nothing");
}
}
and onclick method of submit button call funcion()
the thing is that that code only work if "alert("nothing") is present... I added just to probe..
could you please give me some advice on this?? Thanks!
I have this javascript code
function funcion() {
var el = document.getElementsByName("radio1");
if (el[0].checked) { alert(el[0].value);
location.href="http://gaia.nexonodo.com/index.php?option=com_chronocontact&chronoformname=conocer_mejor_o_e";
alert("nothing");
}
}
and onclick method of submit button call funcion()
the thing is that that code only work if "alert("nothing") is present... I added just to probe..
could you please give me some advice on this?? Thanks!
This topic is locked and no more replies can be posted.
