How to set value in text_field_with_auto_complete


#1

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


#2

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