Retrieve return value of a Javascript function in the WebBrowser control in vb6

前端 未结 2 1769
我在风中等你
我在风中等你 2021-01-03 11:41

I have a vb6 application,

I make a function call with WebBrowser script but I need to get the return value of that function

my current function is

         


        
2条回答
  •  既然无缘
    2021-01-03 12:07

    Try:

    Set v = WebBrowser1.Document.parentWindow("v = function(){return callOther();};v()")
    

提交回复
热议问题