http-equiv="refresh" -> II

  • Thread starter Thread starter Guest
  • Start date Start date
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:
 
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?
 
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.
 
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

Similar Threads

http-equiv="refresh" 1
Client Chatting th a server. 4
meta tag 1
Meta tag modification 1
Can't refresh an .aspx page 1
Dynamic Refresh using meta tags???? 4
cache 2
noscript adding dynamic meta tag 2

Back
Top