in reply to Clicking a radio button Mechanize::Firefox
Maybe if you want to click the second one, tell XPath:
$mech->click({ xpath => '//input[@value="Student"]' });
Also, your call to ->eval_in_page contains invalid Javascript and thus likely didn't work. But you didn't tell us how it failed, so that's just a guess.
|
|---|