in reply to WWW::Mechanize and JS onClick attributes

If I knew that the form had an action associated with it (which is not evident in the snippet you provided), I'd tell you to just have WWW::Mechanize set the value of foo to that of one of the two possible values and then submit the form.

  • Comment on Re: WWW::Mechanize and JS onClick attributes

Replies are listed 'Best First'.
Re: Re: WWW::Mechanize and JS onClick attributes
by simonm (Vicar) on Jan 23, 2004 at 16:31 UTC
    If I knew that the form had an action associated with it (which is not evident in the snippet you provided)...

    OT, but FWIW: if an HTML form tag does not include an action attribute, it defaults to being the same as the URL where the form was found.