Answers for "get select box data using jquery"

2

jquery select element with data

$('[data-attribute="value"]');
Posted by: Guest on April-01-2020
0

retrieve data from option select js

//For <select id='brew'> with multiple options :
var brew = document.getElementById('brew');
var myImportantValue = brew.options[brew.selectedIndex].value;
Posted by: Guest on October-01-2020

Code answers related to "get select box data using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language