Help for this page

Select Code to Download


  1. or download this
    $ie->form_name( $name )
    $ie->field($name,$value)
    
  2. or download this
    <form id="ldb" name="ldb" method="get" action="/times_fares/ldb/;jsess
    +ionid=10BE7B01E6848F6282BF503A24CD606F" onsubmit="kbSubmit(this)">
    <div id="contentbg">
    ...
                            <input id="mainStation" name="mainStation" typ
    +e="text" value="" size="30"/>
                            <div id="mainStationAc" class="sacDiv"></div>
    
  3. or download this
    my $url = "http://www.nationalrail.co.uk/ldb/";
    $ie = Win32::IE::Mechanize->new( visible => 1 );
    $ie->get( $url );
    my $formname = "ldb";
    my $gotform = $ie->form_name( $formname );