jQuery Autocomplete using extraParams to pass additional GET variables

后端 未结 13 727
独厮守ぢ
独厮守ぢ 2021-01-31 17:23

I am referring specifically to the jQuery Autocomplete v1.1 plugin by Jörn Zaefferer [source: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/] as there seems to

相关标签:
13条回答
  • 2021-01-31 18:09

    I had a similar Problem... don't know if it will work for you ....

    I Tried

     $("#awbCusName").autocomplete("getOracleCus.php?",{
      extraParams: {
      ZONE: function() { return $("#awbZone").val(); }, 
      SE: function() { return $("#awbSE").val(); }, 
      WSC: function() { return $("#awbWSC").val(); } 
     },
    delay:200,
    selectOnly:true,
    cacheLength:0,
    autoFill:true,
    matchSubset:true,
    minChars:1
    });
    

    CACHELENGTH:0 did the trick

    Thanks

    0 讨论(0)
提交回复
热议问题