lets say that this is my form where would i put this code in.

thanks very much for getting back to me.

Jason


--------------------------------------

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>

<body>

<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.csv"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" --><p>
<input type="radio" name="R1" value="V2"></p>
<p><input type="radio" value="V3" name="R1" checked></p>
<p><input type="radio" name="R1" value="V4"></p>
<p><input type="submit" value="Submit" name="B1"></p>
</form>

</body>

</html>


----------------------------------------------

"Jon Spivey" <jonspivey@NOCRAPTHANKStiscali.co.uk> wrote in message
news:uD3KvM22DHA.1660@TK2MSFTNGP09.phx.gbl...
> Hi,
> you can either do
> document.YourFormName.submit();
> or
> document.YourFormName.YourButton.click();
>
> --
> Cheers,
> Jon
> Microsoft MVP - FP
>
> "Jasonc" <jasonc310771_newsgroups(REMOVE)@yahoo.co.uk> wrote in message
> news:ed8Cb$x2DHA.3016@TK2MSFTNGP09.phx.gbl...
> > in short this is what i want to achieve.
> >
> > an 'onload auto submit'
> >
> > this is what i want it for.
> >
> > i use a intranet at work, when staff visit a page it already has the
> > files selected depending no how it is that has visited, all i want is
for
> > the page
> > to auto click the GO button, to save then doing it.
> > how do i have a page auto click this button?
> > maybe something on the lines of <onload ....> ??
> >
> >
> > these files are agendas and each person has only interest in some, so
> using
> > cookies i have set up what ones they want and when the open the page it
> then
> > downloads the files the want and not all of them, i am trying to save
time
> > sending out emails to everyone with just the doc's they want, this is
very
> > time consuming. so hence the script to do it.
> >
> > all i need is to have a bit in there in the form part to auto execute
it,
> or
> > SEND when the page is looked at.
> >
> > thanks in advance.
> >
> > Jason
> >
> >
> >
> >
>
>

Re: onload auto click of Submit button by mick

mick
Thu Jan 15 16:01:51 CST 2004

http://www.websunlimited.com/order/Product/PagePro/pagepro
.htm


hey jason do youthink this website that offers s logon
page and password to protect a web apge will dp the trick?
if not then waat can I do to hav ea logon page that will
work???

Re: onload auto click of Submit button by Jon

Jon
Thu Jan 15 17:15:33 CST 2004

Hi Jason,
the code needs to go after your form, eg
....your form.....
</form>
<script type="text/javascript">
document.forms[0].submit();
</script>
</body>

--
Cheers,
Jon
Microsoft MVP - FP


"Jasonc" <jasonc310771_newsgroups(REMOVE)@yahoo.co.uk> wrote in message
news:uVmLbZ62DHA.2408@tk2msftngp13.phx.gbl...
> lets say that this is my form where would i put this code in.
>
> thanks very much for getting back to me.
>
> Jason
>
>
> --------------------------------------
>
> <html>
>
> <head>
> <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
> <meta name="ProgId" content="FrontPage.Editor.Document">
> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
> <title>New Page 1</title>
> </head>
>
> <body>
>
> <form method="POST" action="--WEBBOT-SELF--">
> <!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.csv"
> S-Format="TEXT/CSV" S-Label-Fields="TRUE" --><p>
> <input type="radio" name="R1" value="V2"></p>
> <p><input type="radio" value="V3" name="R1" checked></p>
> <p><input type="radio" name="R1" value="V4"></p>
> <p><input type="submit" value="Submit" name="B1"></p>
> </form>
>
> </body>
>
> </html>
>
>
> ----------------------------------------------
>
> "Jon Spivey" <jonspivey@NOCRAPTHANKStiscali.co.uk> wrote in message
> news:uD3KvM22DHA.1660@TK2MSFTNGP09.phx.gbl...
> > Hi,
> > you can either do
> > document.YourFormName.submit();
> > or
> > document.YourFormName.YourButton.click();
> >
> > --
> > Cheers,
> > Jon
> > Microsoft MVP - FP
> >
> > "Jasonc" <jasonc310771_newsgroups(REMOVE)@yahoo.co.uk> wrote in message
> > news:ed8Cb$x2DHA.3016@TK2MSFTNGP09.phx.gbl...
> > > in short this is what i want to achieve.
> > >
> > > an 'onload auto submit'
> > >
> > > this is what i want it for.
> > >
> > > i use a intranet at work, when staff visit a page it already has the
> > > files selected depending no how it is that has visited, all i want is
> for
> > > the page
> > > to auto click the GO button, to save then doing it.
> > > how do i have a page auto click this button?
> > > maybe something on the lines of <onload ....> ??
> > >
> > >
> > > these files are agendas and each person has only interest in some, so
> > using
> > > cookies i have set up what ones they want and when the open the page
it
> > then
> > > downloads the files the want and not all of them, i am trying to save
> time
> > > sending out emails to everyone with just the doc's they want, this is
> very
> > > time consuming. so hence the script to do it.
> > >
> > > all i need is to have a bit in there in the form part to auto execute
> it,
> > or
> > > SEND when the page is looked at.
> > >
> > > thanks in advance.
> > >
> > > Jason
> > >
> > >
> > >
> > >
> >
> >
>
>
>



Re: onload auto click of Submit button by Jasonc

Jasonc
Fri Jan 16 07:20:21 CST 2004

thank you.



"Jon Spivey" <jonspivey@NOCRAPTHANKStiscali.co.uk> wrote in message
news:uC%2355172DHA.3496@TK2MSFTNGP11.phx.gbl...
> Hi Jason,
> the code needs to go after your form, eg
> ....your form.....
> </form>
> <script type="text/javascript">
> document.forms[0].submit();
> </script>
> </body>
>
> --
> Cheers,
> Jon
> Microsoft MVP - FP
>
>
> "Jasonc" <jasonc310771_newsgroups(REMOVE)@yahoo.co.uk> wrote in message
> news:uVmLbZ62DHA.2408@tk2msftngp13.phx.gbl...
> > lets say that this is my form where would i put this code in.
> >
> > thanks very much for getting back to me.
> >
> > Jason
> >
> >
> > --------------------------------------
> >
> > <html>
> >
> > <head>
> > <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
> > <meta name="ProgId" content="FrontPage.Editor.Document">
> > <meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
> > <title>New Page 1</title>
> > </head>
> >
> > <body>
> >
> > <form method="POST" action="--WEBBOT-SELF--">
> > <!--webbot bot="SaveResults"
U-File="fpweb:///_private/form_results.csv"
> > S-Format="TEXT/CSV" S-Label-Fields="TRUE" --><p>
> > <input type="radio" name="R1" value="V2"></p>
> > <p><input type="radio" value="V3" name="R1" checked></p>
> > <p><input type="radio" name="R1" value="V4"></p>
> > <p><input type="submit" value="Submit" name="B1"></p>
> > </form>
> >
> > </body>
> >
> > </html>
> >
> >
> > ----------------------------------------------
> >
> > "Jon Spivey" <jonspivey@NOCRAPTHANKStiscali.co.uk> wrote in message
> > news:uD3KvM22DHA.1660@TK2MSFTNGP09.phx.gbl...
> > > Hi,
> > > you can either do
> > > document.YourFormName.submit();
> > > or
> > > document.YourFormName.YourButton.click();
> > >
> > > --
> > > Cheers,
> > > Jon
> > > Microsoft MVP - FP
> > >
> > > "Jasonc" <jasonc310771_newsgroups(REMOVE)@yahoo.co.uk> wrote in
message
> > > news:ed8Cb$x2DHA.3016@TK2MSFTNGP09.phx.gbl...
> > > > in short this is what i want to achieve.
> > > >
> > > > an 'onload auto submit'
> > > >
> > > > this is what i want it for.
> > > >
> > > > i use a intranet at work, when staff visit a page it already has
the
> > > > files selected depending no how it is that has visited, all i want
is
> > for
> > > > the page
> > > > to auto click the GO button, to save then doing it.
> > > > how do i have a page auto click this button?
> > > > maybe something on the lines of <onload ....> ??
> > > >
> > > >
> > > > these files are agendas and each person has only interest in some,
so
> > > using
> > > > cookies i have set up what ones they want and when the open the page
> it
> > > then
> > > > downloads the files the want and not all of them, i am trying to
save
> > time
> > > > sending out emails to everyone with just the doc's they want, this
is
> > very
> > > > time consuming. so hence the script to do it.
> > > >
> > > > all i need is to have a bit in there in the form part to auto
execute
> > it,
> > > or
> > > > SEND when the page is looked at.
> > > >
> > > > thanks in advance.
> > > >
> > > > Jason
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> >
>
>