Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: WWW::Mechanize click_button

by erik (Sexton)
on Jan 24, 2008 at 09:59 UTC ( [id://663975]=note: print w/replies, xml ) Need Help??


in reply to Re: WWW::Mechanize click_button
in thread WWW::Mechanize click_button

If I might add a bit of HTML wisdom... submit buttons look like buttons (to humans) but they are a different type of objects. One should really consider them like "submits" and not like "buttons". If you have free time to spare, I recommend reading about the HTML DOM. It's a useful read if you intend to work more with html/web pages.

Even though in HTML the submit gets click-ed before the event bubbles up to the form that gets submit-ted, what you really are trying to do is submit the form. So it doesn't matter that much to you if the submit gets clicked as long as the form is submitted, right?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://663975]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-24 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found