How do you grab the high lighted value from auto_complete_fi


#1

Any Help is appreciated…


#2

Digimage wrote:

Any Help is appreciated…

I had trouble with that last night too. You need the right css to make
it work. I went to the script.aculo.us web site and found the demo page
that uses the feature you are looking for. Then do a show page and the
css is in the page directly.

This is what I’m using… seems to work but I have not really looked at
it. You can move up and down the list with arrow keys, then hit tab or
return to select it.

div.auto_complete { width: 350px; background: #fff; } div.auto_complete ul { border:1px solid #888; margin:0; padding:0; width:100%; list-style-type:none; } div.auto_complete ul li { margin:0; padding:3px; } div.auto_complete ul li.selected { background-color: #ffb; } div.auto_complete ul strong.highlight { color: #800; margin:0; padding:0; }

#3

thanks Perry… I’ll give it a shot…

On Jul 1, 8:53 pm, Perry S. removed_email_address@domain.invalid


#4

So more Q… How do I grab that value and set it into params?
it seems like auto_complete_textfield does not put that value into
params automatically…

Any help is appreciated…


#5

Digimage wrote:

So more Q… How do I grab that value and set it into params?
it seems like auto_complete_textfield does not put that value into
params automatically…

Any help is appreciated…

Sounds like you do not have the fields named and labeled. Did you put a
lable?

Look at this example:

http://demo.script.aculo.us/ajax/autocompleter_customized

Good luck.


#6

Perry… Thanks… But i’m using auto_complete_field and not
text_field_with_auto_complete…
I think from the example… text_field_with_auto_complete does it
automatically…
but how do I feed the selected value into params when I’m using
auto_complete_field.

Any help is appreciated…

On Jul 2, 5:57 am, Perry S. removed_email_address@domain.invalid