javascript SCRIPT type
@March 15, 2008, 1:22 a.m.
type | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
Read-only | |
Provides an advisory about the content type of the script statements. The content type should tell the browser which scripting engine to use to interpret the script statements, such as text/javascript. The type attribute may eventually replace the language attribute as the one defining the scripting language in which the element's statements are written. |
|
Example | |
var scriptMIMEtype = document.getElementById("script3").type; |
|
Value | |
String. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/script-type.aspx
Powered by Linode.