By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,627 Members | 1,870 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,627 IT Pros & Developers. It's quick & easy.

autocomplete in a textarea

pradeepjain
100+
P: 563
http://www.electrictoolbox.com/jquer...extarea-input/

hi guys i want to build a autocomplete feature in a textarea . so i thought of like when ever the word count increases call the ajax/jquery so as to find the autocomplete from server . i am using the word count feature from above url . how do i pass the present entered word to server for checking .bcos there may be multiple words also .
like

hello BP ..

when BP is typed it should expand itself in the text area!
Dec 1 '09 #1
Share this Question
Share on Google+
2 Replies


pradeepjain
100+
P: 563
okie autocomplete is 2nd part!! can i just alert the each new word when typed as soon as a space is encountered !
Dec 1 '09 #2

acoder
Expert Mod 15k+
P: 16,027
Use onchange (change in jQuery) to call a function which checks for the space as the last character.
Dec 3 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.