you could try returning the options that way:

<option><span style="display: none">234</span><span class="informal">228282SSS</span></option>

This should display 228282SSS but fill the field 234 when it is selected

hth

On 7/11/06, Stripe-man <[EMAIL PROTECTED]> wrote:
Hello...


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

I have a question in reqards to the above demo...

I have a list of alphanumeric values that I need in the drop down.. however...
I need the ID numbers that are pulled from the db that related to each of the paticular numbers to
be placed as the value... ie:

<option value=234>228282SSS</option>

I would like the userver to search the list based on the 228282SSS  but the value is what is returned (234)  !

is this possible.. and if so.. how ?

Thanks so much for your time

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs





--
Mit freundlichen Grüßen

Siegfried Puchbauer
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to