Modify

Opened 16 years ago

Closed 16 years ago

#1200 closed Bug (Fixed)

_IEFormElementGetCollection example in helpfile

Reported by: Volly Owned by: J-Paul Mesnage
Milestone: 3.3.1.2 Component: Documentation
Version: 3.3.0.0 Severity: None
Keywords: Cc:

Description

For the command _IEFormElementGetCollection, the following example is given:

[code]
#include <IE.au3>
$oIE = _IECreate ("http://www.google.com")
$oForm = _IEFormGetCollection ($oIE, 0)
$oQuery = _IEFormElementGetCollection ($oForm, 1)
_IEFormElementSetValue ($oQuery, "AutoIt IE.au3")
_IEFormSubmit ($oForm)
[code]

I'm using IE6 for my work uses it. They won't upgrade and no amount of shaming, begging, or asking will change this. I'm stuck using it. Well, when I test the example, the script doesn't work as designed. It will put "AutoIt IE.au3" in the address bar. If I change $oQuery = _IEFormElementGetCollection ($oForm, 1) to $oQuery = _IEFormElementGetCollection ($oForm, 2), it works as expected.

Is this a problem of IE6 or a bug? If it is a bad example, then the example in _IEFormGetCollection would also need to be fixed.

This is in the Production version. I've looked in the 3.3.1.1 and I see the same examples listed.

Attachments (0)

Change History (1)

comment:1 by J-Paul Mesnage, 16 years ago

Milestone: 3.3.1.2
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed in version: 3.3.1.2

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.