Javascript Reference
Categories: SCRIPT

javascript SCRIPT Description

@March 15, 2008, 1:22 a.m.
scriptFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

  

The script object reflects the script element. Internet Explorer 4 for Windows chokes on accessing or setting the innerHTML or innerText properties, but the equivalent text property is safe. IE 5 for the Macintosh implements the readyState property (shared among all elements in IE for Windows) for this object.

 
HTML Equivalent
 
<script>
 
Object Model Reference
 
[window.]document.getElementById("elementID")
 
Object-Specific Properties
 
charsetdefereventhtmlForsrctexttype
 
Object-Specific Methods

None.

 
Object-Specific Event Handler Properties
 
HandlerFirefox/Netscape/NNIEChrome/Safari/DOM
onerrorn/a4n/a
onloadn/a4n/a

Powered by Linode.