exxos_uk
asked on
VB6 webbrowser get JS variable ?
Using a webbrowser control in VB6, is it possible to obtain JS values ? for example if the page has a variable like "var = xxx;" could I somehow read "xxx" variable from VB ?
I know I can read other items using id's and innerhtml , though is it possible to directly read variables ?
I know I can read other items using id's and innerhtml , though is it possible to directly read variables ?
No JavaScript is handled through the microsoft scripting runtime. You can however use the method you mentioned and parse the innerhtml to determine the initial value of the variable.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.