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
 
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.
 

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

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top