Re: [PBML] OT Automatically SUBMIT a FORM ?
- Well, at the risk of being flamed and so that the group can see the
Here's a quick script I whipped up I put an alert into the body that
notifies you that it has reloaded. There is also an alert in the
To make this even more User-Unfriendly I threw a string into the body of the
doc that utilizes string.blink() -- this only works in Netscape-- flame away
And for all the IE folks out there I threw in an example of manipulating the
Hey, at least I didn't put in an onUnload function that popped up the
example again every time try close this example!
Have fun and don't actually put any of this on your site... :-),
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
window.setTimeout("submit_form()", 10000); //milliseconds for time. ten
alert ("time up");
<form name="test" action="submit.html">
var worldString="Hello, world"
<marquee id="marq" scrollheight=100 bgcolor="#336699">Scrolling Marquee
Manipulation...click the buttons to change my
----- Original Message -----
From: "Trap 13" <bugbuilder@...>
Sent: Friday, October 12, 2001 2:30 AM
Subject: Re: [PBML] Automatically SUBMIT a FORM ?
> On Fri, Oct 12, 2001 at 03:09:00PM +1300, Gordon Stewart wrote:
> > Hi there, Im developing a form, using CGI/Perl to create the form.
> > & when you submit it - the results / input - Are re-directed into the
same cgi script.
> > which either re-prints the form - and/or does another action.
> > I was wondering...
> > Is there a way to automatically 'refresh' - or 'submit' the form - after
60 seconds - or so.. ?
> > If theres a way to automatically 'submit' the screen (including any
changes a person makes)
> I have seen a somewhat similar question in a PHP ml, the guy who
> answered the question has been flamed by the other ml members. It's
> considered as a prejudice against the freedom of the internet users.
> > If thats possible, can it say - if the person manually presses the
'submit' button - the 'value' is 2..
> > but if it is submitted automatically - the 'value' is 1
> > EG -
> > $text - Will be a persons entry...
> > $value is 1 or 2 - If it automatically submits - it sendas $value of 1 &
whatever the person has entered in the $text field.
> > G.
> > Your use of Yahoo! Groups is subject to
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/