How to get attribute from selected option using jQuery
The jQuery :selected selector can be used in conjugation with the val() method to find the selected option value in a select box or dropdown list. This tutorial teach you how to get attribute from selected option using jQuery. HTML…