Here's the basics of what I want to do:
If the user selects something from the autocompleting dropdown the use
the normal functionality and populate the text box.
If the user does not select something, and simply leaves the field, I
want it cleared back out to blank.

I just can not get the javascript to work to be smart enough to know
when something was selected and leave it and when something wasn't
selected.

It would work fine if I could put everything in the hide() function,
however when something is selected from the dropdown DIV this function
gets called multiple times.  Any advice?  Thanks!

Joe Athman

==============================================================================
This communication, together with any attachments hereto or links contained 
herein, is for the sole use of the intended recipient(s) and may contain 
information that is confidential or legally protected. If you are not the 
intended recipient, you are hereby notified that any review, disclosure, 
copying, dissemination, distribution or use of this communication is STRICTLY 
PROHIBITED.  If you have received this communication in error, please notify 
the sender immediately by return e-mail message and delete the original and all 
copies of the communication, along with any attachments hereto or links herein, 
from your system.

==============================================================================
The St. Paul Travelers e-mail system made this annotation on 02/22/06, 17:05:17.


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

Reply via email to