/

HTML / CSS / JavaScript Tutorial

JavaScript script object property: text

[this page | pdf | back links]

The text property of the JavaScript DOM object corresponding to the HTML <script> element sets / returns the contents of all child text nodes of the script.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile