So erhalten Sie den ausgewählten Text von Dropdown in 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.