pass data using post between html pages
I want to pass values between 2 html pages using POST method. I have lot of data to be passed to 2nd page and cannot use GET. My issue is I dont know how to pass values to second html page and how do i display username on page 2.
<h4>Enter your name</h4>
<form name="form1" method="post" action="page2.html">
<input type="text" name="username">
<input type="submit" onclick="submitForm()">
....... dont know how to display username entered on page1.html here...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)