I am facing an issue: I need to do html meta refresh (because I do windows gadget, this is only thing what works in Internet Viewer (not Internet Explorer), there is no location.href or anything similar (it always opens in new windows instead of currect gadget windows). Therefore onhly HTML meta refresh works to link a page.
So I was tweaking the JS to have a variable into the meta refresh, and it works only in chrome, but it doesnt work in ordinary Internet Explorer... once I make it work in IE, it shall work in gadget windows too.
How to adapt this code to work on Internet Explorer (if you have a chance to try it out in Internet Viewer, would be even better).
<html>
<head>
</head>
<body>
<meta http-equiv="refresh" content="5;url=http://www.google.com">
<script>
var username = "jzaloudek";
var url = "http://localhost/excel/test.php?name=" + username;
var time = 5;
document.getElementsByTagName("META")[0].httpEquiv = "refresh";
document.getElementsByTagName("META")[0].content = time + ";url=" + url;
</script>
<p>Loading...</p>
</body>
</html>