RE: Aaaagh problem with JavaScript .submit() function

by "Brett" <brett(at)opensearch.com>

 Date:  Tue, 30 Jul 2002 23:24:49 +0800
 To:  "'hwg-tech'" <hwg-techniques(at)hwg.org>
 In-Reply-To:  attbi
  todo: View Thread, Original
Hi

OK I solved it... thanks for replying anyway. Turns out it was
submitting after all but it wasn't sending the correct data in the form
field and so the next page was redirecting it to another page which in
turn wasn't receiving the correct data and was doing a history.go(-1)...
which actually ended up sending it two pages back because the page in
the middle never actually got to the browser (it=92s a server side page)
*sigh* so that's why it took so long to debug. In 3 years of programming
I've never come across that problem lol.

Later,
Brett
=A0
"Ooooh..... they have the Internet on computers now"
- H. Simpson


-----Original Message-----
From: Larry Coats [mailto:thewolves(at)attbi.com]=20
Sent: Tuesday, 30 July 2002 11:16 PM
To: Brett Errington
Cc: 'hwg-tech'
Subject: Re: Aaaagh problem with JavaScript .submit() function

Brett Errington wrote:

> Has anyone ever had any problems with the .submit() function in
> JavaScript. I have a link in one frame calling a function in another
> frame and that function is supposed to submit the form on the page.
The
> problem is it doesn't, instead it just seems to reload the same page
> (i.e. the page the form was on). Any suggestions or fixes or links to
> fixes. I need to fix this urgently. Oh and by the way it's doing the
> same thing in IE and Netscape.


It's really hard to try to help debug your code if we can't see it. Got=20
a URL?

Larry Coats

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA