Article View: comp.lang.javascript
Article #7Submitting a form with a javascript
From: Allen Brooker
Date: Sat, 08 Sep 2001 10:11
Date: Sat, 08 Sep 2001 10:11
10 lines
1291 bytes
1291 bytes
Hi all, I need to know how to submit a form using a javascript. Scenario: I have a form. When the submit button is clicked I want it to call a javascript which checks that the necessary fields have been filled in, then submit the form using the 'post' method to a Perl CGI script. TIA Allen
Technical Details
Message-ID:
<Usenet.biqnknoi@localhost>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!diablo.theplanet.net!news.theplanet.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb3cb,38ccfcd2b6e42ff2,start X-Google-Attributes: gidfb3cb,public X-Google-Thread: 100e17,38ccfcd2b6e42ff2,start X-Google-Attributes: gid100e17,public X-Google-ArrivalTime: 2001-09-08 04:49:29 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!diablo.theplanet.net!news.theplanet.net!not-for-mail From: Allen Brooker <allen@brooker.gb.net> Newsgroups: comp.lang.javascript,alive.internet.lang.javascript Subject: Submitting a form with a javascript Date: Sat, 8 Sep 2001 11:11:22 +0100 Lines: 11 Message-ID: <Usenet.biqnknoi@localhost> NNTP-Posting-Host: modem-40.hogfish.dialup.pol.co.uk Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Trace: news6.svr.pol.co.uk 999944610 29136 62.137.29.40 (8 Sep 2001 10:23:30 GMT) NNTP-Posting-Date: 8 Sep 2001 10:23:30 GMT X-Complaints-To: abuse@theplanet.net X-Newsreader: Kaufman Pravda 1.26