Hi,
I am trying to do some refactoring of a web site to ensure that it displays in
the most web clients possible. One of the pages requires to be redirected to
another automatically, for one reason or another. My style is usually to reduce
the use of Javascript, as much as possible, as in my experience it often causes
compatibility issues. Anyhow, the page currently has:
....
<body>
<script>
window.location .replace("actio ns");
</script>
</body>
....
I am tempted to replace this with a meta tag to change the page:
<META HTTP-EQUIV=Refresh CONTENT="1; URL=action">
Would this have any limitations, and what do you believe to be the most
compatible or best solution for the task.
regards
Tarx
I am trying to do some refactoring of a web site to ensure that it displays in
the most web clients possible. One of the pages requires to be redirected to
another automatically, for one reason or another. My style is usually to reduce
the use of Javascript, as much as possible, as in my experience it often causes
compatibility issues. Anyhow, the page currently has:
....
<body>
<script>
window.location .replace("actio ns");
</script>
</body>
....
I am tempted to replace this with a meta tag to change the page:
<META HTTP-EQUIV=Refresh CONTENT="1; URL=action">
Would this have any limitations, and what do you believe to be the most
compatible or best solution for the task.
regards
Tarx
Comment