[jQuery] Re: An autocomplete that is able to insert a hidden id based upon the ID of a returned element?

2007-08-01 Thread Jim Newfer
Dylan, Thanks, I think I sort of have it figured out. Right now I have it working which is great, although doing what you did, I am only able to do it if I include the ID visually in the list, is there a way around this to get it to not show, but still retrieve that value? Thanks, Jim On Jul 3

[jQuery] Re: An autocomplete that is able to insert a hidden id based upon the ID of a returned element?

2007-07-31 Thread Dylan Verheul
Look at http://www.dyve.net/jquery/?autocomplete Type 'vul' into the first search box, and pick a vulture :-) Watch the alert box. Look at the source code to see how it is done. Documentation is linked on the page. -Dylan On 7/31/07, Jim Newfer <[EMAIL PROTECTED]> wrote: > > Hello every, > > I

[jQuery] Re: An autocomplete that is able to insert a hidden id based upon the ID of a returned element?

2007-07-30 Thread Larry Garfield
If I understand you correctly, have a look at Drupal (a PHP CMS, http://drupal.org/). It uses jQuery and offers an autocomplete that I think is what you describe. I'm not entirely sure how it does it internally, but it's worth looking into. On Monday 30 July 2007, Jim Newfer wrote: > Hello e

[jQuery] Re: An autocomplete that is able to insert a hidden id based upon the ID of a returned element?

2007-07-30 Thread Glen Lipka
Im not exactly following. The plugins may have their own way, however, you can always get an attribute with the attr() function. $("li").attr("id") would return the ID of an element. So it seems you want to get the ID of the one the user selected. So I will sort of fake it, because I dont know