You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
280 B
JavaScript
11 lines
280 B
JavaScript
5 years ago
|
function getFormvalue()
|
||
|
{
|
||
|
var x=document.getElementById("form1");
|
||
|
for (var i=0;i<x.length;i++)
|
||
|
{
|
||
|
if (x.elements[i].value!='Submit')
|
||
|
{
|
||
|
console.log(x.elements[i].value);
|
||
|
}
|
||
|
}
|
||
|
}
|