jquery get attribute of selected option code example Example: selected option attribute jquery $('#location').find('option:selected').attr('myTag');