<meta name="redirection" http-equiv="refresh"
content="2;url=http://www.google.com">
It redirects to google.com after 2 seconds. Instead of 2 seconds to make the redirection after 2 minutes just need to change content="120"
.
Problem:
The numerical value is configure in Database in minutes (30 minutes),in seconds its (30*60=1800)
. How to do this calculation and set dynamically the meta tag's content to 1800
.
I tried using jquery
var value = "1800;http://wwww.google.com";
$('meta[name="redirection"]').attr("content", value);
its not working