cara mendapatkan teks dropdown yang dipilih di jQuery
BY LOVE
$("#Id option:selected").text()
Precious Pigeon
BY LOVE
$("#Id option:selected").text()
$('#id').children(':selected').text();
$("#city_id option:selected").text();
I think this should be $("#yourdropdownid").children("option").filter(":selected").text() since is() returns a boolean of whether the object matches the selector or not.