|
-
May 2nd, 2001, 10:16 AM
#1
Thread Starter
Frenzied Member
Programatically Press Submit Button on HTML Form
Can some tell me how to press a button on a HTML form through my program. I have tried:
doc.forms(0).submit
which works, but does not emulate the exact procedure like I need it to do.
Here is the code for the button:
<input type="Image" name="submit" src="http://...submit.gif" border="0">
Thanks
-
May 2nd, 2001, 02:12 PM
#2
Frenzied Member
What part of the procedure is being left out? I don't think I'm following.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
May 3rd, 2001, 01:02 PM
#3
Thread Starter
Frenzied Member
Using the doc.forms(0).submit works, but not the same as actually pressing the submit button. That is the returned URL that qualifies whether or not the submission was successful is different. It doesn't matter though I ended up just tabbing through the page with SendKeys and it works fine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|