cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Need help with curl command on a form with onsubmit confirmation

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 2 Aug 2004 10:28:06 +0200 (CEST)

On Sat, 31 Jul 2004, Jim Wang wrote:

> I'm obviously very new to curl and have written a few curl scripts to input
> and execute http forms, but nothing yet that had an onsubmit. I'm just
> looking for the curl command that will allow me to submit the restart and
> also return true on the onsubmit function confirmRestart2. Simple I hope

This particular javascript doesn't change what to send in the form, it is
purely for providing a "are you sure?" prompt. You can safely ignore it when
you write a curl command line to post this.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-08-02