I currently have a select
element in my HTML code
which looks like this:
<select>
<option id="US" value="US">
</option>
<option id="Canada" value="Canada">
</option>
</select>
My requirements are twofold:
- I would like to send a POST request to the server when an option is selected
- Additionally, I would like to include HTML elements within each option
Is it possible to achieve these functionalities for all browsers, especially modern ones?