Somehow EasyUI must get that other value, therefore it must be possible. Should I include the MIT licence of a library which I use from a CDN? Get selected text from a drop-down list (select box) using jQuery. Book about a good dark lord, think "not Sauron". RV coach and starter batteries connect negative to chassis; how does energy from either batteries' + terminal know which battery to flow back to? What if the user 'tabs' into the select element and uses his keyboard arrows to select a different option? Use either JavaScript or jQuery for this. onchange = function () { // Change background color of element using the selected value. We have given a dropdown of all the OS in the code above. He wants not the value but the shown text of the select box. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. This is my onchange function. While using W3Schools, you agree to have read and accepted our, , , , , , , , , , , , , , , , , ,