| Posted by Network-Man on 06/05/05 05:23 
Toby,It worked like a charm.
 I knew it would have something to do an "onload" statement, but that's as
 close as I could get.
 Thanks.
 
 -Joel
 
 "Toby Inkster" <usenet200504@tobyinkster.co.uk> wrote in message
 news:pan.2005.06.04.20.39.41.272607@tobyinkster.co.uk...
 > Network-Man wrote:
 >
 > > I am trying to streamline a form that in itself streamlines logging into
 a
 > > site. Is there a way to make a form submit "onload" without clicking a
 > > submit button?
 >
 > <form id="foo">
 > ...
 > </form>
 > <script type="text/javascript">
 >   function myfunc () {
 >     var frm = document.getElementById("foo");
 >     frm.submit();
 >   }
 >   window.onload = myfunc;
 > </script>
 >
 > --
 > Toby A Inkster BSc (Hons) ARCS
 > Contact Me  ~ http://tobyinkster.co.uk/contact
 >
  Navigation: [Reply to this message] |