HappyMan Posted March 12, 2016 Share Posted March 12, 2016 Hello. How I can: 1. take list of variant 2. select one of the variant from html code: <ul class="carbon_airplanes"><li><input name="airplane" id="320" onchange="on_airplane_select();" type="radio" value="320"><label for="320">Airbus A320-100/200</label></li><li><input name="airplane" id="321" onchange="on_airplane_select();" type="radio" value="321"><label for="321">Airbus A321-100/200</label></li></ul> I'll try this, but it not worked Local $Inputs = _IETagNameGetCollection($oIE, 'ul') For $Input In $Inputs If $Input.classname == 'carbon_airplanes' Then _IEFormElementRadioSelect($Input, "321", "airplane", 1, "byValue", 1) _IEFormElementRadioSelect($Input, 1, "airplane", 1, "byIndex", 1) _IEFormElementRadioSelect($Input, 0, "airplane", 1, "byIndex", 1) EndIf Next Then I try this, it's work, but I need take list... $byid = _IEGetObjById ($oIE, "320") _IEAction($byid, 'click') p.s. sorry for my English( Link to comment Share on other sites More sharing options...
HappyMan Posted March 12, 2016 Author Share Posted March 12, 2016 Found compromise variant: Local $Inputs = _IETagNameGetCollection($oIE, 'input') For $Input In $Inputs If $Input.name == 'airplane' Then MsgBox(0, "Link Info", $Input.name) _IEAction($Input, 'click') EndIf Next Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now