tak asi to má být takhle:
$html[] = "window.addEvent('domready', function() { var t{$uniq} = new TextboxList('{$id}', {$options});\n";//
if($add)
{
$html[] = "t{$uniq}.".implode(".", $add).";\n";
}
if($el)
{
$html[] = "var r{$uniq} = [".implode(",", $el)."];\n";
$html[] = "t{$uniq}.plugins['autocomplete'].setValues(r{$uniq});});\n";
nicméně IE furt pyčuje Jdu spáchat rituální sebevraždu