[jQuery] 2 or more ac in one page by 1 ac function

[jQuery] 2 or more ac in one page by 1 ac function


hi all, is that possible to handle 2 or more ac in one page by 1 ac
function ?
how to complete it ....
$("#ac_box" + x1).autocomplete("ac.php", { ..
extraParams: {
main: $("#x1").val();
ac.php------------
select * from db where xxx='$_GET["main"]' and yyy=$_GET["q"]
thanks