undefined in status bar

G

George Hester

This is using Microsoft Windows with IE. I have a form with a text box which I inspect onKeyDown to determine what key is pressed. Also if the page sits idle for a while an alert box comes up. Here's my issue.

If I load the page and wait for the time out a message is written to the staus bar. That works fine. But if I load the page, type one character in the text box and stop all activity the page times out again. But this time after the alert box has fully formed, the status bar quickly receives the message I want there but instantaneously changes to undefined.

What can be done so this doesn't happen?

Thanks.

George Hester
__________________________________
 
S

Steve van Dongen

George Hester said:
This is using Microsoft Windows with IE. I have a form with a text box which I inspect onKeyDown to determine what key is pressed. Also if the page sits idle for a while an alert box comes up. Here's my issue.

If I load the page and wait for the time out a message is written to the staus bar. That works fine. But if I load the page, type one character in the text box and stop all activity the page times out again. But this time after the alert box has fully formed, the status bar quickly receives the message I want there but instantaneously changes to undefined.

What can be done so this doesn't happen?

Find out why it's setting the status bar text to undefined and fix it.

If you want help you need to post some code.

Regards,
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,059
Latest member
cryptoseoagencies

Latest Threads

Top