How to set value in text_field_with_auto_complete

I have a text_field_with_auto_complete that is working just fine,
except that I’d like it to retain whatever value is posted to it when
it reloads. I can’t find any API documentation on it. Does anyone
here know offhand?


One simple way is to use an onchange event handler to make a cookie
using javascript which stores the value. Then javascript can also
retrieve the cookie onload. It depends on the requirements of your
site whether this is sufficient though.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs