Selecting and inserting text at cursor location in textfield with JS/jQuery
- by IceCreamYou
Hello.
I have developed a system in PHP which processes #hashtags like on Twitter. Now I'm trying to build a system that will suggest tags as I type. When a user starts writing a tag, a drop-down list should appear beneath the textarea with other tags that begin with the same string.
Right now, I have it working where if a user types the hash key…