Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

html get form elements

var x = document.getElementById("myForm");
var txt = "";
var i;
for (i = 0; i < x.length; i++) {
  console.info(x.elements[i].value);
}
 
PREVIOUS NEXT
Tagged: #html #form #elements
ADD COMMENT
Topic
Name
6+7 =