我工作的软件里内置调用了ie浏览器
我在网页中加入vbscript的代码来做这个软件做二次开发,想问有人能把发送命令的代码转为javascript嘛
window.external.doCommand(" '")
以下为完整代码
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<button id="test" >test</button>
<script language="vbscript">
sub test_onclick()
window.external.doCommand("message info'ok'")
end sub
</script>
</body>
</html>
我在网页中加入vbscript的代码来做这个软件做二次开发,想问有人能把发送命令的代码转为javascript嘛
window.external.doCommand(" '")
以下为完整代码
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<button id="test" >test</button>
<script language="vbscript">
sub test_onclick()
window.external.doCommand("message info'ok'")
end sub
</script>
</body>
</html>