Hi All, I'm trying to manually change the value of a select menu to a certain option by referencing it's value.
I've got the three instances I've tried (below) which aren't changing the select menu option correctly, in which am having trouble getting the correct syntax as to how to SET the value on an "onClick" event. + <li><a href="#" onClick="$("#select_9").attr('value','23')); return false;">one</a></li> +<li><a href="#" onClick="$ ("select[id='select_9']").attr('value','23')); return false;"></a></ li> +<li><a href="#" onClick="$("select_9").val("23"); return false;"></ a></li> Can someone help me find the correct syntax? Thanks!