How to SUBMIT form without leaving page

I have a web page with a JS call to submit(). This works fine. However, I would like to provide the ability to preserve the page so that it could be resubmitted with minor modifications to the input data. It seems like I could save the form fields in session-length cookies and reload after the submit, but that seems a bit crude. What are my other options?

George

Subject: Try this

I am having a similar problem while doing a search om our website and haven’t found exactly how to do yet but found that if I in the onsubmit event writes:

trg = top.window.document.location;

top.window.document.location=trg;

it reloads the same page and then I guess you can adjust the path to your needs.