D
darius
Hello
I'm doing a bit of AJAX auto completion. The text field is a string of
tags separated by spaces. My problem is I need to know which is the
current word that I need to autocomplete.
When the user starts typing, I can assume it's the last word that needs
to be autocompleted: ([] is the caret)
pictures fun[]
But when she backs up to edit or insert another word
pictures anim[] funny
here I need to know I'm autocompleting 'anim'. How do I determine that?
thanks
I'm doing a bit of AJAX auto completion. The text field is a string of
tags separated by spaces. My problem is I need to know which is the
current word that I need to autocomplete.
When the user starts typing, I can assume it's the last word that needs
to be autocompleted: ([] is the caret)
pictures fun[]
But when she backs up to edit or insert another word
pictures anim[] funny
here I need to know I'm autocompleting 'anim'. How do I determine that?
thanks