The solution we found (credit to Jim) is to use the non-standard HTML attribute
autocomplete="off". You can also use an invisible span. The following page demonstrates the problem:
I’ve seen this behaviour in Firefox 3.6, but not in any of Chrome, Safari or IE6.