I want to use the autocomplete function of scriptaculous .
I pass the code at a variable (basically the Ajax library of CodeIgniter do this), how can I,at onload function load the value of this variable?
Code:
var autocompleter=new Ajax.Autocompleter(.....);
document.objerve('dom.loaded',function{} {  ??? }});