pb中调用javascript ole ie 控件

html代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script language=javascript>
        function hello(aa)
        {
            document.getElementById("div").innerHTML = aa;
        }
    </script>
</head>
<body>
    <div id="div"></div>
</body>
</html>

//pb中调用hello函数 

 ole_browse.object.document.parentWindow.hello(sle_1.text);  

//参考http://topic.csdn.net/t/20030714/13/2025565.html

原文地址:https://www.cnblogs.com/kuailewangzi1212/p/1845657.html