🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.javascript
Article #9

Re: Submitting a form with a javascript

#9
From: Cranston Engles
Date: Sat, 29 Sep 2001 02:11
23 lines
1459 bytes
Allen,

Feel free to check out the code on my contact page:

http://www.rawconfusion.com/contact.htm

It will submit the form purely through javascript.

I hope that helps
On Sat, 8 Sep 2001 11:11:22 +0100, Allen Brooker
<allen@brooker.gb.net> wrote:

>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: <3bb52d85.2430945@news.mindspring.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!feed.textport.net!out.nntp.be!propagator-SanJose!news-in-sanjose!in.nntp.be!news.mindspring.net!not-for-mail
References: <Usenet.biqnknoi@localhost>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb3cb,38ccfcd2b6e42ff2
X-Google-Attributes: gidfb3cb,public
X-Google-Thread: 100e17,38ccfcd2b6e42ff2
X-Google-Attributes: gid100e17,public
X-Google-ArrivalTime: 2001-09-28 16:11:20 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!feed.textport.net!out.nntp.be!propagator-SanJose!news-in-sanjose!in.nntp.be!news.mindspring.net!not-for-mail
From: never@ever.net (Cranston Engles)
Newsgroups: comp.lang.javascript,alive.internet.lang.javascript
Subject: Re: Submitting a form with a javascript
Date: Sat, 29 Sep 2001 02:11:04 GMT
Organization: MindSpring Enterprises
Lines: 24
Message-ID: <3bb52d85.2430945@news.mindspring.com>
References: <Usenet.biqnknoi@localhost>
NNTP-Posting-Host: 42.20.51.ee
X-Server-Date: 28 Sep 2001 23:10:23 GMT
X-Newsreader: Forte Free Agent 1.21/32.243