11 lines
280 B
JavaScript
11 lines
280 B
JavaScript
|
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);
|
||
|
}
|
||
|
}
|
||
|
}
|