1
I’m wearing a Select
to pass values to a Javascript function.
When selected takes the value
and based on that value the function I have here returns something.
I would like to exchange for a list of links that when clicking do the same thing.
That’s the code I got:
<select id="linha" onclick="selectBus()">
<option value="1">item1</option>
<option value="2">item1</option>
<option value="3">item1</option>
</select>
This already works with the Select
, but would like to exchange for a list of links.
use the event
onchange
– Brumazzi DB