Monday, November 12, 2007

Buggy IE

IE fails to parse <script> content if its in XHTML shorthand format that is <script src="some.js" type="text/javascript" />.
But works fine in Firefox and other mozilla based browsers.

To fix this one has expand the tag as follows:

<script src="some.js" type="text/javascript">
</script>

I checked it with IE 6, may be in version 7 it could be working..

Blogged with Flock

No comments: