this piece of code does not seem to work with firefox however works without any problem on chrome or IE:
instead of assigning the corresponding value to the variables it just repeats the same value for all the variables so assuming the input nombre has the value john email and coment will also have john even though in the input boxes fom the form the values are different.
So how to I check the values accordingly?
Regards
Code:
f = document.forms["form1"];
var nombre = f.elements.item("nombre").value;
var email = f.elements.item("email").value;
var coment = f.elements.item("coment").value;
So how to I check the values accordingly?
Regards
Comment