开发者

javascript and activex control communication

开发者 https://www.devze.com 2022-12-16 13:12 出处:网络
I saw a website using below syntax to listen to the event from an activeX control, I am wandering where I can find the reference for the definition of the \"for\" and \"event\" keywords in \"script\"

I saw a website using below syntax to listen to the event from an activeX control, I am wandering where I can find the reference for the definition of the "for" and "event" keywords in "script" element? Is it W3C standard?

<script开发者_如何学Python language="javascript" type="text/javascript" for="DopvsPlugInCtrl" event="NotifyLocalPort(localport)">
            newport = localport;
    </script>


for and event attributes are not W3C. They are specifically designed for IE to handle ActiveX. You may take a look at this article.

0

精彩评论

暂无评论...
验证码 换一张
取 消