Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I append data returned by ASP page to an existing HTML form?

Status
Not open for further replies.

GeeGee

Programmer
Jul 5, 2000
2
CA
I have an HTML form page with text boxes and a SUBMIT button.&nbsp;&nbsp;When I press the SUBMIT button, it sends the information to IIS which selects the appropriate ASP page.&nbsp;&nbsp;The ASP page will than interpret the information and send back the appropriate data.&nbsp;&nbsp;However, I don't want the ASP data to be displayed on a new HTML page or a new Internet Explorer window.&nbsp;&nbsp;I want the data to be placed on the current HTML form page directly under the text boxes and the SUBMIT button.&nbsp;&nbsp;Is that possible?<br><br>Also, I know there is a function &quot;Server.Execute&quot; that might be able to do this but it only works on IIS 5.0 (ASP 3.0) and I only have IIS 4.0 (ASP 2.0) with no chance of upgrading.&nbsp;&nbsp;Can anyone help?
 
well if data you want to show in an ASP is EXACTLY below everything(asp being last shown thing, and not being inserted into the HTML)<br><br>you could try<br><br>&lt;!--&lt;#include file = &quot;MyHTML.Htm&quot;&gt;--&gt;<br><br>at the top, this would make <br><br>__________________________________<br>HTML Document sent back to client<br>----------------------------------<br>ASP appended<br>__________________________________<br>when you include a file, its like inserting it right at the point you stuck the #include... line.<br>&nbsp; <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top