how can i send 2 id or more on this function by ajax
function advcust(id) {
$.ajax ({
url: "php_filter.php?cust=advcust",
type: "GET",
data: {CustStatus:id},
success: function(data){
$("#return").html(data)
}
})
}
here i can send only one id
but i need sent 2 or more id
and i have two input type to search two words
can i send 2 id on ajax
You can then access customer IDs in PHP as an array: