Jump to content
Sign in to follow this  

_FFFormOptionSelect not working

Recommended Posts

_FFFormOptionSelect failed

Ive tried a lot of thing with no success

html code:

 <select name='mm' id='month' data='birthday-drop-down' >
           <option value=''>Month</option>
<option title=January value='1'>January</option>
<option title=February value='2'>February</option>
<option title=March value='3'>March</option>
<option title=April value='4'>April</option>
<option title=May value='5'>May</option>
<option title=June value='6'>June</option>
<option title=July value='7'>July</option>
<option title=August value='8'>August</option>
<option title=September value='9'>September</option>
<option title=October value='10'>October</option>
<option title=November value='11'>November</option>
<option title=December value='12'>December</option>
#include <ff.au3>
If _FFStart("http://onlybestfreestuff.com/test.php", Default, 2) Then


I read the FFFormOptionSelect info but stiil no idea

Share this post

Link to post
Share on other sites

if someone have the same problem i resolve it with this code

   $sObj = _FFXPath("//select[@name='mm']//option[position()="2"]","",9)
_FFObj($sObj, 'selected', 'selected')
if position()="2" will select January 

Share this post

Link to post
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
Sign in to follow this  

  • Create New...