82
rated 0 times
[
85]
[
3]
/ answers: 1 / hits: 26746
/ 12 Years ago, thu, august 30, 2012, 12:00:00
I have this select tag right here
<select id = options style = width:150px;>
<option>Artist Name</option>
<option>Track Name</option>
<option>Date Uploaded</option>
</select>
I am getting the current selected innerHTML value using JQuery
var option = $(#options).innerHTML;
console.log(option);
But each time I print it only returns me a value of undefined.
More From » jquery