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 can get values by getElementsByTagName and code would be like this
getElementsByTagName
var inputs = document.getElementsByTagName('input'); value1 = inputs[0].value; value2 = inputs[1].value;