Form, GET and onSubmit

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Newbie question I'm afraid.  I've got a small form with some simple
JavaScript validating input ebfore submission.  Testing it locally, I find
that if I fail validation, I put up an alert() as expected, don't send but
seem to "refresh" the page _with parameters_.  What I mean is that I start
off with the address of the page showing, hit submit and afterwards, the
address shows something like

Why am I refreshing and getting these parameters?  I seem to be using
"return script()" (which seems to be the main problem) and this doesn't seem
to happen if I change the method to POST.

Any ideas?

Paul DS.

Please remove the "x-" if replying to sender.

Site Timeline