Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q2067 Is there a way to submit a form and ignore the response?

irt.org | Knowledge Base | HTML | Q2067 [ previous next ]

Q2067 Is there a way to submit a form and ignore the response?

After submitting the form data to server,  it will send the response to the client. This will update the current display on client side. However it is possible to retain the current display and ignore the response from the server. This can be achieved by targeting the response to a dummy frame. Sample code:

<FRAMESET ROWS="100%,*">
<FRAME SRC="Form.html" NAME="FormFrame">
<FRAME  SRC=about:blank NAME="DummyFrame" NORESIZE>
</FRAMESET>

Then in the Form.html:

<FORM METHOD="POST" ACTION="xxxxx" TARGET="DummyFrame">

Thus, result will be put into non-vizible frame without affecting the form display.


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.