I fixed that behavior in Firefox by comparing defaultValue to value
the other day... maybe that works in IE as well?

--Klaus


On Apr 4, 12:38 pm, mudge <[EMAIL PROTECTED]> wrote:
> I am the author of a plugin which places example text in form inputs
> that disappears on user focus (http://plugins.jquery.com/project/
> example). I recently received a bug report describing the fact that
> refreshing a form in Internet Explorer 6 and 7 will reload input
> values without re-applying any CSS classes (which my plugin relies
> upon).
>
> This behaviour exists in other browsers such as Firefox and Safari but
> is avoided by clearing such values on page unload: this method does
> not work with IE, however.
>
> Does anyone know how to prevent IE from caching a form input value? If
> not, perhaps someone knows *when* IE caches such value as it seems
> like it may be before unload is called.
>
> I've tried setting autocomplete="off" dynamically but to no avail.
>
> Any help would be greatly appreciated.

Reply via email to