script

Name

script -- Declaration of script used in XUL file

Additional Attributes

src, type

Description

The script element can contain script content (e.g., <script>alert("it")</script>) and can also import scripts in JavaScript files, in which case the src attribute is used. The type for JavaScript is application/x-javascript, and the src attribute may also use chrome:// type URLs to point at JavaScript in the chrome.