in reply to Re: Re: Clicking a checkbox using www::mechanize
in thread Clicking a checkbox using www::mechanize
To fake the javascript, you read it , and figure out what it does. Then do those actions in perl (or ignore them if you don't care.) In this case it might look like code that follows , but it all depends on what the javascript does.
$agent->submit_form( form_name => 'hidden_form', fields => { 'newfield1' => 'val1', 'newfield2' => 'val2' }, );
In Section
Seekers of Perl Wisdom