jQuery中获得选中select值
$('#testSelect option:selected').text();//选中的文本
$('#testSelect option:selected').val();//选中的值
$("#testSelect ").get(0).selectedIndex;//索引
Action获得select的值
select中的name名称需要与action的值一致即可
爆款云服务器s6 2核4G 低至0.46/天,具体规则查看活动详情
jQuery中获得选中select值
$('#testSelect option:selected').text();//选中的文本
$('#testSelect option:selected').val();//选中的值
$("#testSelect ").get(0).selectedIndex;//索引
Action获得select的值
select中的name名称需要与action的值一致即可