[ad_1]
You return x and y.
x=document.getElementById("a")
That means x is an object. If you want the value of this object use
x=document.getElementById("a").value
2
[ad_2]
solved Javascript function submit not working [closed]
[ad_1]
You return x and y.
x=document.getElementById("a")
That means x is an object. If you want the value of this object use
x=document.getElementById("a").value
2
[ad_2]
solved Javascript function submit not working [closed]