Displaying 1 result from an estimated 1 matches for "_suggestions".
Did you mean:
suggestions
2005 Nov 10
0
Using multiple inputs with ajax.autocompleter
...the problem:
This little bit of code illustrates the problem:
<script language="javascript">
function ac(elm) {
var val = $F(''val'');
new Ajax.Autocompleter(elm, ''suggest'',
''function/main.php?action=''+val+''_suggestions'', {paramName: val+''_query''});
}
</script>
<select id="val">
<option value="type1">Type 1</option>
<option value="type2">Type 2</option>
<option value="type3">Type 3</optio...