If a form has same tag repeatedly,
how to get its value in JavaScript?
<script>
function validate()
{
//get all values of elmone
}
</script>
<form>
<input type="text" size="15" value="Hello World" name="elmOne">
<input type="text" size="15" value="next Hello World" name="elmOne">
<input type="button" onclick="javascript:validate()" value="validate">
</form>
it is not a common practice to name two different text input element with a common name. However, back to the question, you can always use document.getElementByName(‘elmOne’); to get a list of the matching input, then loop through it for value
you may want to refer to this page for further information on compatibility