昨天刚研究出的多级菜单联动JQUERY代码 与和位分享
<script language="JavaScript">
function send11() {
var provincetype = document.getElementById('L_1-1').value;
var citytype = document.getElementById('L_1-2').value;
$.post('?m=admin&c=appointment&a=getstore1&provincetype='+provincetype+'&citytype='+citytype+'&pc_hash=<?php echo $_SESSION['pc_hash'];?>',{provincetype:provincetype,citytype:citytype}, function(data){
$("#shop").html(data);
});
}
</script> |