Scriptaculous JavaScript DHTML



        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


  script.aculo.us Autocompleter functional test file
  
  
  
  
  
    .selected { background-color: #888; }
  


script.aculo.us Autocompleter functional test file


Autocompleter ac1 (updated panel is relative, so no overlapping should occur): 


  new Ajax.Autocompleter('ac1','ac1update','scriptaculous-js-1.8.2/test/functional/_autocomplete_result.html');

Autocompleter ac2 w/ parameters: 


  new Ajax.Autocompleter('ac2','ac2update','scriptaculous-js-1.8.2/test/functional/_autocomplete_result.html',{parameters:'a=b&b=c'});

Autocompleter ac3 (nested in postion:relative div, selects "selectme" class):
 





  new Ajax.Autocompleter('ac3','ac3update','scriptaculous-js-1.8.2/test/functional/_autocomplete_result.html',{select:'selectme'});


Autocompleter ac4 (autoselects option if single single option is returned):
 



  new Ajax.Autocompleter('ac4','ac4update','scriptaculous-js-1.8.2/test/functional/_autocomplete_result_single.html',{select:'selectme',autoSelect:true});