I've always followed the standards set by the W3C, and have always trusted them. Today however, those standards seem to have failed me.
I am sure you all know about window.location.replace() in JavaScript. I have set my document to a basic HTML 4.01 Trans. with text/html meta content type with windows-1252 character encoding.
Are you with me so far?
Now I put in a JavaScript with a window.location.replace(). However, while running this code it doesn't redirect! I narrowed it down to this exact line of code. It works when I put in a window.location = "site.html" but I'm a real stickler for no back buttons :D
If I take out the HTML 4.01 Trans. declaration, it works fine. BUT I WANT MY W3C MARKER!
I am sure you all know about window.location.replace() in JavaScript. I have set my document to a basic HTML 4.01 Trans. with text/html meta content type with windows-1252 character encoding.
Are you with me so far?
Now I put in a JavaScript with a window.location.replace(). However, while running this code it doesn't redirect! I narrowed it down to this exact line of code. It works when I put in a window.location = "site.html" but I'm a real stickler for no back buttons :D
If I take out the HTML 4.01 Trans. declaration, it works fine. BUT I WANT MY W3C MARKER!














