Geoff Chappell - Software Analyst
An instance of the CScriptElement class is created for each SCRIPT tag.
coclass: | HTMLScriptElement | {3050F28C-98B5-11CF-BB82-00AA00BDCE0B} |
dispinterface: | DispHTMLScriptElement | {3050F530-98B5-11CF-BB82-00AA00BDCE0B} |
The table below lists the interface members that the CScriptElement class exposes as properties (methods, collections, etc) through its string table in addition to the very many properties that are common to all elements.
Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted. Properties that are listed but not as applying to the script element are shaded yellow.
Property | Attribute | Interface | Member |
---|---|---|---|
appendChild | IHTMLDOMNode | appendChild | |
attributes | IHTMLDOMNode | get_attributes | |
charset | same | IHTMLScriptElement2 | get_charset put_charset |
childNodes | IHTMLDOMNode | get_childNodes | |
cloneNode | IHTMLDOMNode | cloneNode | |
defer | same | IHTMLScriptElement | get_defer put_defer |
event | same | IHTMLScriptElement | get_event put_event |
firstChild | IHTMLDOMNode | get_firstChild | |
hasChildNodes | IHTMLDOMNode | hasChildNodes | |
htmlFor | for | IHTMLScriptElement | get_htmlFor put_htmlFor |
insertBefore | IHTMLDOMNode | insertBefore | |
lastChild | IHTMLDOMNode | get_lastChild | |
nextSibling | IHTMLDOMNode | get_nextSibling | |
nodeName | IHTMLDOMNode | get_nodeName | |
nodeType | IHTMLDOMNode | get_nodeType | |
nodeValue | IHTMLDOMNode | get_nodeValue put_nodeValue |
|
onerror | same | IHTMLScriptElement | get_onerror put_onerror |
ownerDocument | IHTMLDOMNode2 | get_ownerDocument | |
parentNode | IHTMLDOMNode | get_parentNode | |
previousSibling | IHTMLDOMNode | get_previousSibling | |
removeChild | IHTMLDOMNode | removeChild | |
removeNode | IHTMLDOMNode | removeNode | |
replaceChild | IHTMLDOMNode | replaceChild | |
replaceNode | IHTMLDOMNode | replaceNode | |
src | same | IHTMLScriptElement | get_src put_src |
swapNode | IHTMLDOMNode | swapNode | |
text | IHTMLScriptElement | get_text put_text |
|
type | same | IHTMLScriptElement | get_type put_type |
uniqueID | IHTMLUniqueName | get_uniqueID | |
uniqueNumber | IHTMLUniqueName | get_uniqueNumber |