<input type="hidden" name="hiddenConsolidateFiles" value="0">
<button type="button" style="width:220px;" onClick="javascript:viewFullTextOfTreaty()" value="full" name="full" id="full">View Full Text of Treaty</button>
<button type="button" style="display:none;" onClick="javascript:viewFullText()" value="" id="sim">View Other Relevant Treaty Information</button>
<button type="button" style="display:none;" onClick="javascript:viewConsolidated()" value="consol" name="consol" id="consol">View Consolidated Version of Treaty</button>
I have the above HTML. I want to click the button named full using Mechanize in perl. How can I do this?
I have tried $mech->click("full") and $mech->click_button(name => 'full') and $mech->click_button(value => 'full') but none have worked. They all say there is "no clickable input with name full".