How can I change the selected option of a select box using jQuery
This question already has an answer here:
尝试这个:
var your_value='French';
$('#v_lenguaje').val(your_value);
$('#v_lenguaje').val('Italian');
just use like above, giving the option value
Fiddle Demo
链接地址: http://www.djcxy.com/p/83912.html上一篇: 基于价值选择期权