How do I retrieve the name attribute of a selected option using jquery. IE:
<select name="textselector"> <option name="11">Text</option> <option name="12">Text 2</option> </select> In this example, I would be trying to get 12 when the "Text" option is selected.