Hi all,
in a .aspx page I have a button with
onclick="this.form.action='Test2.aspx'"
and several input fields,
Surname: <br />
<input type="text" id="cognome" name="cognome" /><br />
City: <br />
<input type="text" id="city" name="city" />
<p />
How can I read the values from the previous...
In my form the action is empty, and my goal is to set this "action" accordingly to the pressed button.
For example is the user press button1 -> action="Test1.htm"
if the user press button2 -> action="Test2.htm"
Hi all,
I have an HTML page (or .aspx page) with one form, containing several input elements, and 2 button (input type="submit"), like this example:
<form id="myForm" method="post" action="">
Client Name: <br />
<input type="text" id="clientName" name="clientName" />...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.