<input name="supplier_nm" id="supplier_nm" type="text" class="form-control input-sm" style="width: 20%"/>
<link rel="stylesheet" href="__PUBLIC__/dist/css/jquery.bigautocomplete.css" type="text/css" />
$(function(){
$.ajax({
url:"/index.php/Content/pub_param_get_All",
method:'POST',
data:{
tab_nm:'dw_pty_supplier_td',
c_nm:'supplier_nm',
site_tp:'',
db_type:'Mysql_WH'
},
dateType:'json',
async:false,
timeout:30000,
success:function(result){
res = [];
for(var index in result['list']){
res.push({title:result['list'][index]});
}
$("#supplier_nm").bigAutocomplete({
data:res
});
}
})
})