Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

click two input buttons in form. both buttons have the same value

$
0
0
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!

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>


Viewing all articles
Browse latest Browse all 688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>