jQuery select option using text value $.text()Reply to comment:contains is not ideal, consider some of the values might be cintained within others.Eg, if you got an option with "bble" as text and you want the id,@$("select:last").find("option:contains('bble')").prop("selected", "selected") will return more than oneComment:Name (optional):Post Reply
jQuery select option using text value $.text()
Reply to comment