Autocomplete, Google Chrome, and onBeforeUnload

Autocomplete, Google Chrome, and onBeforeUnload

I have several jquery ui autocompletes in a form that are being populated using ajax.

When I load the page in Google Chrome, the onBeforeUnload event fires and cause the autocomplete attribute (which jquery ui sets to prevent the browser's autocomplete from interfering with the jquery ui autocomplete) to be removed (the fix for http://bugs.jqueryui.com/ticket/7790). The relevant line is 6053 in jquery-ui.js (v 1.10.1). This only happens in Chrome- FireFox and IE don't exhibit this behavior.

I have searched through Google and don't see anyone else with this problem so I believe it must be something on my site. I'm using jsp's with custom tags if that's any help. Could anyone give me any ideas as to why this is happening and what I can do to stop it?

Thank you in advance!

Sincerely,

Dana