CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
www::mechanize Help With Checkboxes

 



ews2001
New User

Apr 29, 2004, 3:36 PM

Post #1 of 1 (491 views)
www::mechanize Help With Checkboxes Can't Post

Hi.

This is a section of the html code on another website that I'm trying to screen scrape by checking a checkbox:

<input id="chklstCC_0" type="checkbox" name="chklstCC:0" onclick="__doPostBack('chklstCC:0','')" language="javascript" /><label for="chklstCC_0">Visa</label>

The perl scripts says:

$agent->tick(chklstCC:0);

There's no value in the input, so how do I make my script check the checkbox?

Thanks for your help ahead of time,

EvanSmile

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives