473,382 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

IE caching / dhtml weird behavior

hello everybody, this is my goal:

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

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 1203
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dave Griffiths | last post by:
Hi all Very new to JavaScript, I am trying to cache a number of images as the page loads, is there a max number of images or memory usage before the browser stops caching. My PC has 1G ram so...
2
by: Frances Del Rio | last post by:
please, can you go to http://www.francesdelrio.com/dhtml/ when you click the name of the character the font color for all the lines of that character should change.. this is a simple DHTML...
2
by: Andrea L. Williams | last post by:
My development system and the production system run the same basic pages, as you would guess. After I browse the production site and then switch to my development site, using IE 6.0, for some...
1
by: Ben Fidge | last post by:
What are best practices for page output caching on pages that are dynamically generated from database tables. Our site has left-hand navigation that is comprised of dynamically generated menus...
2
by: J055 | last post by:
Hi I've implemented caching for my ObjectDataSource. <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" EnableCaching="True" CacheDuration="10" CacheExpirationPolicy="Sliding" ...
1
by: Charlie | last post by:
Hi: This is driving me nuts. My TreeView won't show any changes/additions unless I restart visaul studio. When I requery datasource (xmldatasource control) new data is there, but tree must be...
1
by: priya0123 | last post by:
Hi, We are writing an application in asp.net 2.0. We have used menu control and made it a usercontrol. I have Partial cached the user control. After caching the user control, this is being...
12
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I'm using ASP.Net with an UpdatePanel. When the screen is exercised via a Web Test, the Web Test shows that the AJAX scripts are downloaded for every partial post back. My impression was that...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.