weirddave Posted February 7, 2009 Share Posted February 7, 2009 I'm trying to tick the "remember me" checkbox on a site I want to log into (facebook as it happens). I can click it using: $oQuery = _IEFormElementGetObjByName($oForm, "persistent") _IEAction($oQuery, "click") But this toggles it every time the script is run What I'd like to do is: _IEFormElementCheckBoxSelect ($oForm, "persistent", "" , 1, "byValue") But it doesn't work, however this does: _IEFormElementCheckBoxSelect ($oForm, 0, "" , 1, "byIndex") I just don't understand why the other doesn't work. Here's the html for the checkbox: <input type="checkbox" name="persistent" value="1" /> Can someone shed light on why I can't call it by name? 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