Re: apply button

Gisle Aas (gisle@activestate.com)
30 Mar 2001 18:40:30 -0800


"moh har" <mohhar@hotmail.com> writes:

> quik question. when a button is defined as :
> 
> <TD WIDTH=72 HEIGHT=43 ALIGN=LEFT VALIGN=MIDDLE BGCOLOR=#CCCC99><INPUT
> TYPE="button" VALUE="go"
> OnClick="window.location=document.channelnav.CHANNEL.options[document.channelnav.CHANNEL.selectedIndex].value";></TD>
> 
> how can u press it using perl?

You can't.  At least not until somebody implementes JavaScript in Perl.

> before simple buttons could be pressed with:
> $ua->request($f->press(<button name.));