«« Next » « Previous
«« Next » « Previous

Link Details

You don't even have to leave your chair. Login and vote now.
Link 80686 thumbnail

By bloid
via sitepoint.com
Submitted: May 13 2008 / 02:30

The correct type value for JavaScript is actually application/javascript. But wouldn’t you know it, Internet Explorer will not execute the code if you use that type value. So here’s a hell of a situation, to produce a valid HTML or XHTML document with script tags, we are required to use a type attribute, but to get it to function across all browsers we have to use an incorrect value.
  • 1
  • 0
  • 112
  • 10

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)



Voters Against This Link (0)