Hello guys,
I have a form (see below), where I need to select a value from the select list, then I click "Go", page loads, then I select another value from the second list, then I click in the second "Go" button.
The problem is, both buttons have the same value's name ("GO").
How can I make the difference between the first and second button when clicking?
This seems to be easy, but still don't find the solution.
Thanks in advance!
I have a form (see below), where I need to select a value from the select list, then I click "Go", page loads, then I select another value from the second list, then I click in the second "Go" button.
The problem is, both buttons have the same value's name ("GO").
How can I make the difference between the first and second button when clicking?
This seems to be easy, but still don't find the solution.
Thanks in advance!
Code:
<form name="countrySelection">
<select name="continent">
</select>
<input type="submit" class="go" value="GO" />
<select name="country">
</select>
<input type="submit" alt="Go" value="GO"/>
</form>