View Full Version : How to capture the output after making a request to the server

01-18-2006, 01:08 PM
Thank you in advance for your help.

Here is my problem.

I am sending a form to the server using Post and submit. That form is posted to the server which in return displays to the browser a xml document.

What I would like instead is to send the form to the server and capture the output so that I can format it.

<title> coding</title>

<form name="login" method="Post" action="https://my domain name/something.nsf?Login">
username:<input type="text" value="" size="26" name="username"/><BR>
password:<input type="password" value="" size="26" name="password"/><BR><BR>
<input type="submit" value="Submit" size="26" name="login"/>
<input type="hidden" value="https://my domain name/something.nsf/something?OpenAgent" name="redirectto"/>


the challenge that I have is to capture the page returned from the server into let say something...

Please help

01-18-2006, 06:37 PM
Try Ajax (XMLHttpRequest Object).

Rather easy to do.


01-19-2006, 04:30 AM
Why not format the output in the server-side?