Get the selected tag name from a html form using javascript
<p>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 .</p>

<pre><code>&lt;form name='get_state'  id="catalog" action='post.php' method='POST' &gt;
 &lt;select name='plateDescr' onchange="window.loadStates()"&gt;&lt;/select&gt;
 &lt;select id="matType"  name="matType" onchange="window.loadStates()" hidden="hidden"&gt;&lt;/select&gt;
&lt;/form&gt;
</code></pre>

<p>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!</p>
