Forum Moderators: open

Message Too Old, No Replies

Can Ajax keep making suggestions as user fills in text area?

Ajax makes new suggestion after comma

         

wickedmoon

6:47 pm on Oct 3, 2007 (gmt 0)

10+ Year Member



I'd like users to fill in a text area with words and phrases, separated by commas. After each comma, can Ajax suggest another list of options, or is it limited to doing this once per text area?

Jason

penders

8:58 pm on Oct 3, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



An AJAX request could be triggered on any event at any time, so I would say yes. You could trigger it on the onkeypress event of the textarea element, after having checked for a comma.