Jump to content

IE.au3 Submit Java Button


Recommended Posts

Hello,

I have searched the forums, but haven't had much luck resolving my problem. Any help would be appreciated.

Form name:

<form name="rateToolsMainForm" method="post" action="/ratetools/FindZones.do">

Button:

<input type="submit" value="Find zones >>" onclick="submitFindZonesForm('FindZones');" class="buttonpurple">

Please let me know if I need to post more information.

Thanks!

Edited by NSearch
Link to comment
Share on other sites

Try with _IEFormSubmit or _IEAction ($oSubmit, "click")[look at this in the UDFs]

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Link to comment
Share on other sites

Thanks for your reply d4rk.

I have tried _IEFormSubmit, but it navigates to the wrong page.

I have also tried _IEAction($oSubmit, "click"), but when trying $o_submit = _IEGetObjByName ($oIE, "???")......the submit button doesn't have a name....so I am not sure how to get the submit object.

Any other ideas, or just let me know what I am doing wrong.

Thanks!

Edited by NSearch
Link to comment
Share on other sites

From the helpfile documentation on _IEFormGetObjByName

Remarks

If the desired form does not have a name or ID, _IEFormGetCollection to get a reference by index

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

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...