Resetting Timer on <meta http-equiv="refresh"


G

George Durzi

I'm using the following tag to refresh my page every 3 minutes.

<meta http-equiv="refresh" content="180; URL=default.aspx">

However, it's bound to happen that a user is working on the page, and it
refreshes, so they lose their work.

Is there any way to reset the timer when a key is pressed?

Thanks
 
Ad

Advertisements

P

Patrick Olurotimi Ige

Don't use meta http-equiv="refresh" ..
Try using refresh Javascript for this and plug in to a KEY PRESSED or
BUTTON.
 
Ad

Advertisements


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

Top