Error message is a run time error. I expect to be caused by a syntax error in the Memo1 statement: how to address the array of options in a javascript select statement?
First part of code:
WebBrowser1.Navigate('www.aaaaa.com');
// Get reference to current document
Doc :=...
Right, ")" was missing in text, not in the code itself.
Error message is:
Project xx.exe raised exception class EOleError with message 'Method 'value' not supported by automation object'. Process stopped. Use Step or Run to continue.
Question is: how to access the array of options?
I receive a web page which has javascript in it.
<select name="region52708" class="popup" onchange="javascript:selectRegion(52708)">
<option value=""></option>
<option selected value="N America">N America</option>
<option value="Asia">Asia</option>
<option value="Europe">Europe</option>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.