21.109Class Script

Creates an embedded script.

Class Script( src, type, data ) from \
                 EscapingData(( "script", ScriptAttribs))

The script will be rendered wrapped in an XML CDATA element. The user should escape any "]]>" on its own before setting the data.

However, XHTML standard suggest not to use this tag and load the stylesheet via link to other documents, to avoid compatibility problems with not totally compliant browsers.

If type is not given, it will be defaulted to "text/javascript"

Properties
text
Methods inherited from class EscapingData
render
Properties inherited from class BaseDom
childTypeList
children
eattr
hname
parent
profileMeta-profiles.
text
Methods inherited from class BaseDom
render
st_makesep

Properties

text

Made with http://www.falconpl.org