http-equiv="refresh" -> II

G

Guest

Hi,
this is my second try to explain:

I need to know how much time has left from this meta:
<meta id="ref" http-equiv="refresh" content="300;url="/>
I mean:
 
R

Ray Booysen

Oren said:
Hi,
this is my second try to explain:

I need to know how much time has left from this meta:
<meta id="ref" http-equiv="refresh" content="300;url="/>
I mean:
--------
when the page has loaded I have 5 minutes to wait until the page will
refresh by himself. Meanwhile I need to know the countdown to 300...

any idea ?
Since this would be client side you would need to use Javascript.

What are you going to do with this time?
 
E

Eliyahu Goldin

Counting time passed from the page load is not difficult. Use a javascript
timer. I am not sure if you can get the content:xx value in javascript. You
may consider passing it down in another way, for example in a hidden input
element.
 
G

Guest

Use Javascript to do the countdown. You can just as well use the
Javascript to do the refresh also.
 

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,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top