Jump to content

Problems : _IEFormElementOptionSelect


Recommended Posts

<html>
 
<head>
<title></title>
<div id="main">
<h1>Buy package</h1>
 
<div id="get_package">
<form>
    <select name="package_selector" id="package_selector">
        <option value="0">Select a Package</option>
        <option value="49">Get 1</option>
        <option value="50">Get 2</option>
        <option value="51">Get 3</option>
        <option value="52">Get 4</option>
        <option value="53">Get 5</option>
        <option value="54">Get 6</option>
    </select>
</form>
</div>
...............

I want to choose Get 6, so i use this code

$oForm3= _IEFormGetCollection ($oIE3, 0)
        
$oGet6 = _IEFormGetObjByName ($oForm3, "package_selector")
 _IEFormElementOptionselect ($oGet6 , "54", 1, "byValue" )

It doesn't work, i don't know why. I'm just a beginner in AutoIT , plz help me

Edited by beginner85
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...