开发者

multiple word Predictive/autocomplete textarea? [closed]

开发者 https://www.devze.com 2022-12-08 19:13 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. 开发者_JS百科 Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers. 开发者_JS百科

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 9 years ago.

Improve this question

I'm lookin for a javascript plugin (for js/any framework)

I want to create a textarea that while I type will using a supplied data array, check for predictive matches to the current word im typing and try to suggest a solution.

All solutions I've found so far (for jquery) only match one word, then end...

I want to write like a sentence or paragraph but have autocomplete ability.

Mockup image attached.alt text http://data.getafreelancer.com/project/212922/autocomplete-mockup.jpg


There is Wick which does support textareas and multiple words.


I just posted a jquery plugin that does autocomplete in a textarea, I think this is what you are looking for.


Me too: See my answer and implementation.


Since Amir's plugin no longer provided a link to the source code, I extracted it from his examples and created a github project where I've added some enhancements to it. You can find it here:

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号