Thanks Stephen (MorningZ). I really appreciate it. Best Sam
On Dec 24, 8:29 pm, MorningZ <morni...@gmail.com> wrote: > Super quick proof of concept > > http://paste.pocoo.org/show/96632/ > > On Dec 24, 10:03 am, MorningZ <morni...@gmail.com> wrote: > > > What you ask is not going to be possible.... first and foremost you > > are overlooking the fact that you are going to lose focus (and > > therefore your selection and cursor position) when you click on the > > autocomplete's <div> of available selections > > > do something like Jorn suggests, and with some well placed and well > > used CSS you can make it "appear" as one big textarea, even though it > > would be <div>, <input> and <textarea> > > > On Dec 24, 9:54 am, Sam Unplugged <guptasamee...@gmail.com> wrote: > > > > Hi, > > > > This does make sense. > > > > However, can you tell me if its possible to autofire jQuery > > > autocomplete dropdown and similarly to prevent autocomplete to show. > > > > I can use such a thingy to show autocomplete dropdown when user has > > > typed 'Dear '. And after that I will not show autocomplete. > > > > Please tell me how this can this be done? > > > > Best > > > Sam > > > > On Dec 24, 6:48 pm, "Jörn Zaefferer" <joern.zaeffe...@googlemail.com> > > > wrote: > > > > > I don't know of any dropin solution for that. I can only recommend to > > > > rethink your approach, eg. make the "Dear " static in front of the > > > > textarea and a seperate input inbetween. > > > > > Jörn > > > > > On Wed, Dec 24, 2008 at 10:26 AM, Sam Unplugged > > > > <guptasamee...@gmail.com> wrote: > > > > > > Hello, > > > > > > Is there an example of partial autocomplete? By 'partial' I mean, only > > > > > a part of textarea gets suggestions. > > > > > > Users in my project are supposed to start a message in a textarea with > > > > > 'Dear <UserName>' > > > > > > I want to make this <UserName> part either clickable like in Office > > > > > documents custom fields, and when a user is editing this part I want > > > > > to show a list of options (usernames from a database). > > > > > > I can work out the backend, but I have no clue where to begin to make > > > > > such a textarea. Please help. > > > > > > Thanks a ton. > > > > > > Sam