470,635 Members | 2,243 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,635 developers. It's quick & easy.

IE caching / dhtml weird behavior

hello everybody, this is my goal:

- read out a text input and display it on the page somewhere else...

and the cache setting is like this:

- look for newer versions of stored pages "automatically". (in
tools/internet options/temporary internet files/settings)

so when i code this with onkeydown (need backspace too, like google
suggest), reading out the text input is _DELAYED_ one character. if the
cache setting is at "every access to the page" then this problem does
not occur.

is somebody able to explain this behavior?

my workaround is at the moment: assign onkeydown and onkeyup the same
event handler and it works... but that's not a proper solution :)

thanks in advance, all the best.

Nov 29 '05 #1
1 1147
it suffices to have an onkeyup event handler attached to work around
the problem. this is a clean solution.

still, WHY in the setting of "automatically" (see above), the onkeydown
event handling will read out a one character delayed input text, and
the "every access to the page" will read out the correct input text?

i know onkeyup is more elegant as it works with both. but i can't
explain the difference just described....

Nov 29 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Dave Griffiths | last post: by
2 posts views Thread by Frances Del Rio | last post: by
2 posts views Thread by Andrea L. Williams | last post: by
1 post views Thread by Ben Fidge | last post: by
2 posts views Thread by J055 | last post: by
12 posts views Thread by =?Utf-8?B?RGF2ZQ==?= | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.