I have a form with 3 input box and all the input box does not have id, name field in it. So if i enter value in it, How can i check the value of input box without id and nam
You could use the elements property of the form object which will iterate over just the input elements inside the form:
input
for (var i = 0; i < a.length; i++) { var e = a[i]; if (e.type == 'text') { f(e.value); } }