I want to ask if there is a way to get the current selected tag name from a form .To make it more clear please take a look at the example below .
<form name='get_state' id="catalog" action='post.php' method='POST' >
<select name='plateDescr' onchange="window.loadStates()"></select>
<select id="matType" name="matType" onchange="window.loadStates()" hidden="hidden"></select>
</form>
For example if the select tag with name 'plateDescr' is currently selected i want to get exactly this value 'plateDescr'. Is there anyway of doing this. Thanks in advance!