javascript document scripts[ ]
@March 15, 2008, 1:22 a.m.
scripts[ ] | Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a |
|
Read-only |
Returns an array of all script objects (script elements) in the current document. Each script object may contain any number of functions. The scripts[ ] collection counts the number of actual <script> tags in the document. Items in this array are indexed (zero-based) in source code order. |
|
Example | |
var scriptCount = document.scripts.length; |
|
Value | |
Array of script element references. |
|
Default | |
Array of zero length. |
Permanent URL:
http://javascript.gakaa.com/document-scripts-7-0-6-.aspx
Powered by Linode.