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