Answers for "change text of select option jquery"

7

jquery selected option text

$( "#myselect option:selected" ).text();
Posted by: Guest on October-06-2020
8

jquery selected option text

$("#mySelect option:selected").html();
Posted by: Guest on April-25-2020
0

jquery change select option text

$('select option:contains("Target Text")').text('New Text');
Posted by: Guest on May-27-2022

Code answers related to "change text of select option jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language