RE: javascript submit form and then location in same function

2006-02-20 Thread Jeremy Bunton
slick just more code to add to each page. Jeremy -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 2:03 PM To: CF-Talk Subject: Re: javascript submit form and then location in same function Hi Jeremy, When you do "window.document.thef

Re: javascript submit form and then location in same function

2006-02-20 Thread Josh Nathanson
t; Sent: Monday, February 20, 2006 10:20 AM Subject: javascript submit form and then location in same function >I have that call this function > > > function submitandgo (url) > { > window.document.theform.submit(); > window.document.location=url; > } > > &g

RE: javascript submit form and then location in same function

2006-02-20 Thread Jeremy Bunton
TED] Sent: Monday, February 20, 2006 1:30 PM To: CF-Talk Subject: RE: javascript submit form and then location in same function > I have that call this function > > > function submitandgo (url) > { > window.document.theform.submit(); > window.document.location=url; > } &

RE: javascript submit form and then location in same function

2006-02-20 Thread Dave Watts
> I have that call this function > > > function submitandgo (url) > { > window.document.theform.submit(); > window.document.location=url; > } > > > If I don't use the location portion it works fine, but it > seems to boot off to the new page before the form submit. An > suggestions? Is there

javascript submit form and then location in same function

2006-02-20 Thread Jeremy Bunton
I have that call this function function submitandgo (url) { window.document.theform.submit(); window.document.location=url; } If I don't use the location portion it works fine, but it seems to boot off to the new page before the form submit. An suggestions? Is there a way in cf to submit a for