I want to change the form action based on a selection value.
Hi Guys,
You can use the onchange event to change the form's action
onchange
document.getElementById('store').storeID.onchange = function() { var newaction = this.value; document.getElementById('store').action = newaction; };
Here is a jsfiddle with the code.