[autocomplete] How autocomplete plugin maintains browser history?

[autocomplete] How autocomplete plugin maintains browser history?

I noticed a problem in my application where I made my own custom select box, that shows its selected item in a text field, because there is an option to directly type values in it too. On submitting the form Firefox remembers entered values and then shows them in autocomplete rollover above my drop down list. So i put autocomplete="off" but now selected value is lost if user navigates away from the page and then hits back button, since Firefox's bfCache doesn't save it now. But I just noticed on this' plugin's homepage that although it sets autocomplete to off back button restores the selected value.

Can someone, please, explain me how it does this?