in reply to Win32::IE:: Mechanize click_button; no form

 $agent->Document->getElementById('buttonid')->Click();

Replies are listed 'Best First'.
Re^2: Win32::IE:: Mechanize click_button; no form
by james2vegas (Chaplain) on Aug 14, 2009 at 10:29 UTC
    The button was unnamed, so it would have to have been getElementsByTagName, but irregardless, calling click or browsing to a javascript: url result in an alert, blocking perl until it is dispatched.