jquery get selected option text on change

How to get on change selected option text in wordpress?You need to find selected value of select on change function jQuery. Below is the example [js] jQuery(document).ready(function(){jQuery(“select#field”).change(function(){ var thisvalue = $(this).find(“option:selected”).text(); alert(thisvalue); }); }); [/js] Jquery .change() get :selected text

Begin typing your search above and press enter to search. Press ESC to cancel.

Back To Top