1
Hi, I need some help here. I have this code:
$search_form = new XoopsThemeForm(_MA_MYSEARCH_SEARCH, "search", "search.php", 'get');
// create form elements
$search_form->addElement(new XoopsFormText(_MA_MYSEARCH_KEYWORDS, "query", 30, 255, htmlspecialchars(stripslashes(implode(" ", $queries)), ENT_QUOTES)), true);
Now I need to add some custom code for the autocompleter:
<div id="autocomplete_choices" class="autocomplete">div>
How can I do this using the addElement atribute?