0
How to pass form element value on the page
how to pass text or radio button value on the same page: like "choose: 1 or 2" and after that print below (outside of the form) "your choice is 1"
1 Resposta
+ 4
<input type=radio value=1 id=rad>
<p id=para>
You can do document.getElementById("para").innerHTML = document.getElementById("rad").value
If you have a code, might be easier.