<select class="tag" name="Tag" >
<option value="1">Option-1</option>
<option value="2">Option-2</option>
<option value="3">Option-3</option>
</select>
Here is the code i'm using in a form, I'm a beginner and i have no idea how to get the value of selected option.I'm using flask as backend. Would you please help me with it?
Please explain for both cases:
1. Getting the value after form submit
2. Getting the value just after selection (In order to add content to the page based on the selection)