So I have this problem.. I am trying to take a user input from a form on "page1" and when submitted it goes to "page2" and shows what the user input in the form. so far I have:
In the body of page 1:
<form id="myform" action="page2.html">
<input type="text" name="myanswer">
And in page 2:
var x = document.myform.myanswer.value;
I am running these files locally not on a server.