<public:component>
<public:attach event="oncontentready" onevent="Init()" />
<public:attach event="onclick" onevent="Click()" />
function Init()
{
window.top.dipstree = element;
window.top.Head = top.frames.frmHead;
window.top.Toolbar = top.frames.frmToolbar;
window.top.Table = top.frames.frmTable;
window.top.Body = top.frames.frmBody; oConfig = new Config
element.type = "container"; m_iMasterIdx = GetXML( oConfig.sTopXmlSrc , element , "dipstree" );
//window.document.body.attachEvent("onkeydown",KeyDown);
}在Init()里如何模拟onclick 事件???
<public:attach event="oncontentready" onevent="Init()" />
<public:attach event="onclick" onevent="Click()" />
function Init()
{
window.top.dipstree = element;
window.top.Head = top.frames.frmHead;
window.top.Toolbar = top.frames.frmToolbar;
window.top.Table = top.frames.frmTable;
window.top.Body = top.frames.frmBody; oConfig = new Config
element.type = "container"; m_iMasterIdx = GetXML( oConfig.sTopXmlSrc , element , "dipstree" );
//window.document.body.attachEvent("onkeydown",KeyDown);
}在Init()里如何模拟onclick 事件???
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货