js給select二級聯(lián)動 如何用jquery聯(lián)動獲取select下拉框的值在線等?
如何用jquery聯(lián)動獲取select下拉框的值在線等?$(function(){$("#select1").live("change",function(){var a =$(this).val()
如何用jquery聯(lián)動獲取select下拉框的值在線等?
$(function(){
$("#select1").live("change",function(){
var a =$(this).val()
$("#select2").val(a)
})
$("#select2").live("change",function(){
var a =$(this).val()
$("#select2").val(a)
})
})