<html><div style='background-color:'><DIV class=RTE>
<P>Thanks for you input Paul.</P>
<P>What I think I will attempt is an Ajax call on the page refresh. I can get the page to refresh, and if I build a string, with all my form variables in, and then push that to a waiting .asp page, I should be able to save the details of the form, without the user knowing it.</P>
<P>Wish me luck.......<BR><BR></P></DIV>
<DIV></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>

<DIV></DIV>From:&nbsp;&nbsp;<I>Paul Novitski &lt;paul@juniperwebcraft.com&gt;</I><BR>Reply-To:&nbsp;&nbsp;<I>"\[JavaScript List\]" &lt;javascript@LaTech.edu&gt;</I><BR>To:&nbsp;&nbsp;<I>javascript@LaTech.edu</I><BR>Subject:&nbsp;&nbsp;<I>Re: [Javascript] Auto-submit form every X minutes</I><BR>Date:&nbsp;&nbsp;<I>Tue, 30 Jan 2007 09:32:48 -0800</I><BR>&gt;At 1/30/2007 09:01 AM, Alan Easton wrote:<BR>&gt;&gt;I am wanting to auto-submit a form every x mins. I have the <BR>&gt;&gt;following code.<BR>&gt;&gt;<BR>&gt;&gt;&lt;script type="text/javascript"&gt;<BR>&gt;&gt;function reFresh() {<BR>&gt;&gt;&nbsp;&nbsp;document.form.submit();<BR>&gt;&gt;}<BR>&gt;&gt;window.setInterval("reFresh()",10000);<BR>&gt;&gt;&lt;/script&gt;<BR>&gt;&gt;<BR>&gt;&gt;However, this is an ASP page, and I have 4 submit buttons, each <BR>&gt;&gt;performing different actions on the page. The page gets submitted 
<BR>&gt;&gt;to itself, and I grab the name of each button and perform something <BR>&gt;&gt;different.<BR>&gt;&gt;<BR>&gt;&gt;I would like to simply add a auto-save, so is there anyway I can <BR>&gt;&gt;use JS to auto submit one of those buttons that I already have, <BR>&gt;&gt;like instead of it being clicked, it is captures in an onsubmit <BR>&gt;&gt;event or something.<BR>&gt;<BR>&gt;<BR>&gt;I suppose you could invoke the click() method on the button of your <BR>&gt;choice.<BR>&gt;http://developer.mozilla.org/en/docs/DOM:element.click<BR>&gt;<BR>&gt;Also don't forget you can create and modify hidden input elements on <BR>&gt;the fly to feed whatever values you need to the server on submit.<BR>&gt;http://www.w3.org/TR/html4/interact/forms.html#hidden-control<BR>&gt;<BR>&gt;Regards,<BR>&gt;<BR>&gt;Paul<BR>&gt;__________________________<BR>&gt;<BR>&gt;Juniper Webcraft 
Ltd.<BR>&gt;http://juniperwebcraft.com<BR>&gt;<BR>&gt;_______________________________________________<BR>&gt;Javascript mailing list<BR>&gt;Javascript@LaTech.edu<BR>&gt;https://lists.LaTech.edu/mailman/listinfo/javascript<BR></FONT></BLOCKQUOTE></div><br clear=all><hr>MSN Hotmail is evolving – check out the new  <a href="http://g.msn.com/8HMBENUK/2734??PS=47575" target="_top">Windows Live Mail</a> </html>