more records creating problem in onchange event


       I have  70kto90k record in my database.when i tried to call onchange event browser hanged.

please check my code.

     var url="";
      url="AjaxAutocomplete.php?ac="+node.getAttribute("name"); //this is typed value on combo
       node.combo.loadXML(url, function(){

Suppose i tried to search name in database by typing some letters on combo.browser hanges (not responding) because of large number of records. how can i solve it

If you are using connector for data fetching - enable dynamic loading
If you are using custom script - limit the number of options that suggest returns