In Php i use the following Script to activate the autocompleter!
$ret .= '<input type="text" id="journal" name="journal"
value="'.htmlentities($this->data).'" size="80">';
$ret .= '';
$ret .= '<div id="AutocompleteChoices" class="autocomplete"></div>';
$ret .= '<script type="text/javascript">';
$ret .= '<!--';
$ret .= 'new Ajax.Autocompleter("journal", "AutocompleteChoices",
"get_list.php", {method: "post",paramName: "value",minChars: 2, indicator:
"indicator1"})';
$ret .= '-->';
$ret .= '</script>';
The variable $ret will be called up later! Additionally i have the
get_list.php which should work fine!
When i try to enter text in the Textfield nothing happens! No list or
anything. The same like before without script! But there is no error or
something! In which directory should i put the get_list.php?
What could be the error?
Greets Muddy
--
View this message in context: http://www.nabble.com/Scriptacolous-Autocompleter-Problem%21-tf4543064.html#a12964875
Sent from the RubyOnRails Spinoffs mailing list archive at Nabble.com.