I have a page with lots of forms on it and every form has a dropdown and two buttons – ok and decline. I have an onclick that will trigger a function:
<input type="button" value="decline"
class="submit_button_wow"
onclick="submit_decision({{ x.id }},false,this)">
how do I figure the selected dropdown value from this form inside submit_decision?
{{x.id}}
is the id of decision that I fill out via template engine.
Refrence the form from the button’s
formproperty. Then get the drop down list by its name.