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?
Thanks,
Carl
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?
Thanks,
Carl
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.
-Nathan
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs