Jump to content
yyywww

_IEFormElementGetObjByName - what if form doesn't have a name?

Recommended Posts

yyywww

How can I get an object if the form doesn't have a name? In the example script of _IEFormElementGetObjByName, the script uses Google.com, which I believe has its form named "f". What do I put in the second parameter if the form doesn't have a name?

 

Share this post


Link to post
Share on other sites
Subz

If you know there is only one form then you could use _IETagNameGetCollection($oIE, "form"), you can also use another element within the form to make changes, i.e. you don't need to use the _IEForm... functions to make changes to a form.

  • Like 1

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

×