hi, I tried the method in the provide link. But got confused over the url value in the following line, new Ajax.Autocompleter("autocomplete", "autocomplete_choices", "/url/on/server", {});
What it actually denotes? Please give a reply on this query. Thanks, Jithesh mraible wrote: > > I haven't used DWR for autocompleting, but I have used Script.aculo.us. > > http://wiki.script.aculo.us/scriptaculous/show/Ajax.Autocompleter > > Matt > > On 10/11/07, jithesh <[EMAIL PROTECTED]> wrote: >> >> hi, >> >> I am new to this section. I am using appfuse 1.9.4 for my application. >> i >> would like to implement the autocomplete on my search field to make it >> more >> responsive. But i am getting a script error 'Autocompleter.DWR is not a >> constructor ' on my code line >> >> 'new Autocompleter.DWR(searchtext, "praclist", populateAutocomplete, >> {});' >> >> searchtext is the keyword to search and praclist is the return >> collection. >> >> My script is like >> <script type="text/javascript"> >> function createAutoCompleter() { >> var searchtext = document.getElementById("searchtext").value;; >> ; >> >> new Autocompleter.DWR(searchtext, "praclist", >> populateAutocomplete, {}); >> } >> >> function populateAutocomplete(autocompleter, token) { >> alert("hi"); >> practiceManager.getpractices_onclick(token, >> function(praclist) { >> autocompleter.setChoices(praclist); >> }); >> } >> >> </script> >> and my jsp code is where i enter a keyword is given below >> >> >> <input type="text" id="searchtext" size="45" onkeyup=" >> createAutoCompleter();"> >> <div id="praclist" class="auto_complete"></div> >> >> >> >> please provide solutions to resolve it. >> >> Regards, >> Jithesh >> -- >> View this message in context: >> http://www.nabble.com/query-on-DWR-Autocomplete-tf4607917s2369.html#a13158095 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/query-on-DWR-Autocomplete-tf4607917s2369.html#a13211194 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]