復制代碼代碼如下: When the ondocumentready event fires, the document has been completely parsed and built. Initialization code should be placed here if the component needs to navigate the primary document structure. The ondocumentready event notifies the component that the entire page is loaded, and ...
<public:component tagName=abc > <public:attach event=ondocumentready onevent=Doc_Ready() /> </public:component> function Doc_Ready() { element.document.bgColor = "red"; } Standards Information There is no public standard that applies to this method. Applies To namespace...