Before- tokens: new Array(' ',',','\n')
After- tokens: new Array(' ',',')
On 7/26/06, Justin Chen <[EMAIL PROTECTED]> wrote:
Is there an option to prevent the 'return' key from autocompleting? On my application I like having the autocomplete show possible matches for users, but I dont want to force them to use a partial match.
Example:
1) User wants to enter "sock" into the textbox
2) Autocomplete finds a term "sockpuppet" and shows it
3) User sees "sockpuppet" but is still satisfied with "sock", so he hits return to submit the form --> but "sockpuppet" autofills into the box! The only way to circumvent the autocompletion is to put a space, comma, etc.
Thanks,
Justin
--
Justin Chen
Two-Bit Operation LLC
http://www.twobitoperation.com
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
--
Thanks,
-Steve
http://www.stevelongdo.com
_______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
