Monday, November 22, 2010

Apparent java script problem with IE8

<a href="http://www.somesite.com"
onclick="location.href='./out.php?ID=XXX';return false;">
SITE NAME</a>


The above works in every browser I tested except IE8. I've read many others have the same issue, but most forums were related to ASP, VB and .NET (whose developer's have an inclination to use Microsoft products for all things from browsing to buttering toast) and the suggested workarounds were simply not applicable to PHP.

Some suggestions relying on other Microsoft products looked incredibly convoluted, but then the simplest ASP script looks like spaghetti code to me. Still, they must be great platforms, after all, you have to pay through the nose for the pleasure to work with them.

Anyways.. possibly, adding this to the meta tag section of your pages will fix it.. if you are lucky.. Do you feel lucky ? Well, do ya ?

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

This reportedly tells IE8 to act like IE7 which is slightly less broken, a sure sign of Microsoft's version of progress.

YO MICROSOFT ! There is a java script issue with IE8 ! You know, java script? that standardized browser unspecific language invented by your arch nemesis Netscape© that like so many others you've attempted to bastcardize into a proprietary McLanguage ?

I expect a 134MB down-loadable patch to address this issue within the month.

And by the way, quit trying to create your own version of web standards in order to broaden your attempted monopoly on all things computer related. Just be happy with your domination of the operating system, office software and game console markets.