Results 1 to 1 of 1
Jan 15, 2008, 17:59 #1
- Join Date
- Feb 2003
- 0 Post(s)
- 0 Thread(s)
Scriptaculous Ajax.Autocompleter help
I've using the Scriptaculous Ajax.Autocompleter function in some of my code. It allows you to run an afterElementUpdate function so you can do things like save the field using AJAX...
The problem is, what if they type in the field and don't select one from the drop down menu? It won't save the information.
I tried using the onChange and onBlur functions on the text field but because the text field loses focus when you select something from the Autocompleter drop down list, it runs the AJAX based on the incomplete text they've typed and not for the text they select from the suggestion box...
Does that make sense? If not let me know.