js给select二级联动 如何用jquery联动获取select下拉框的值在线等?
如何用jquery联动获取select下拉框的值在线等?$(function(){$("#select1").live("change",function(){var a =$(this).val()
如何用jquery联动获取select下拉框的值在线等?
$(function(){
$("#select1").live("change",function(){
var a =$(this).val()
$("#select2").val(a)
})
$("#select2").live("change",function(){
var a =$(this).val()
$("#select2").val(a)
})
})