jquery get name from selected option code example
Example: jQuery select elements by name
$('[name=myElementName]') //match any element with name=myElementName. i.e: <div name="myElementName"></div>
$('[name=myElementName]') //match any element with name=myElementName. i.e: <div name="myElementName"></div>