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

This works in Firefox, but not in IE.

However the very similar (and logically identical):
<script type="text/javascript" src="xyz.js"></script>
<script type="text/javascript" src="abc.js"/>

Is fine in IE.

Which is nice.

From: [identity profile] sigje.livejournal.com


what's your doctype at the top defined as?
ext_27841: (Default)

From: [identity profile] eldar.livejournal.com


It isn't, and as I created the file in Notepad, there isn't likely to be one :-)

There's a Content-Type text/html meta tag.

Besides, it's not that important, I just find it irritating that IE won't allow me to use the neater syntax all of the time whereas Firefox will....
.

Profile

eldar: (Default)
Neil Treeby

Most Popular Tags

Powered by Dreamwidth Studios

Style Credit

Expand Cut Tags

No cut tags