Thanks Stephen.

jQuery and all the smart people who use it simply don't stop to
surprise me.

Best
Sam

On Dec 24, 9:36 pm, MorningZ <morni...@gmail.com> wrote:
> It's pretty complicated CSS/JavaScript manipulation....
>
> that "textbox" is all this HTML
>
> <dd id="dd_to_field" class="field">
>     <div id="ids" class="clearfix tokenizer" tabindex="-1">
>         <span class="tokenizer_stretcher">^_^</span>
>         <span class="tab_stop">
>              <input type="text"/>
>         </span>
>     </div>
> </dd>
>
> People out there have a;ready written code to mimic it in jQuery
>
> http://www.google.com/search?q=jquery+facebook+autocomplete
>
> On Dec 24, 11:24 am, Sam Unplugged <guptasamee...@gmail.com> wrote:
>
> > I have one question tough, how is Facebook's implementation of
> > autocomplete (when sending n message) allows us to add users. Can
> > somebody explain how I can do that?
>
> > Thanks.
>
> > 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

Reply via email to