beebe_3 发表于 2018-12-15 11:06:58

Ajax+juqery+php 之两个select option控件传值

  
  

  

  
  $(".sty").change(function() {
  
  var inno = this.value;
  var next = this.id.split('_');
  
  $.ajax({
  type:'post',
  url:"find_user.php?"+ Math.round(Math.random()*100),
  data:{"inno":inno},
  contentType: "application/x-www-form-urlencoded; charset=utf-8",
  success:function(data) {
     data = eval('('+data+')');
      $("#user_"+next).empty();
     for(i=0;i
页: [1]
查看完整版本: Ajax+juqery+php 之两个select option控件传值