Re: Graping the page HTML in a form

message from budgy2 on 22 Jul 2004
Taking this a little further now.

I need to call a asp page into a text area which is in an ASP page.

<textarea name="ex_HTML" cols="100" rows="10" id="ex_HTML">"><!--#include
file="../index.asp"--></textarea>

I am curently getting this error, which I under stand:

The @ command can only be used once within the Active Server Page.

I only want the rendered HTML not the ASP, can anyone think of another way to
do this?
 
Alan replied to budgy2 on 22 Jul 2004
html isn't going to render inside of the textarea.
If the SSI did work- what would be there would be the entire index.asp file
as text.

What is it that you are trying to do??
 
budgy2 replied to Alan on 22 Jul 2004
The page is part of a CMS.

The idea is to link to an external email marketing product. To do this I need
to pass the HTML for a HTML email and the text for a Plain text email to
another page on a third part site. The code is reneder to a page called
index.asp with differnet string to generate the differnt layouts and text.

Thus I need to submit the rendered HTML to this other site.

WHat is SSI?
 
Alan replied to budgy2 on 22 Jul 2004
this is a server side include
<!--#include file="../index.asp"-->

the problem you are having is that index.asp contains asp i'm assuming.
when you put it into the textarea, the server is choking on it.
 
budgy2 replied to Alan on 22 Jul 2004
Yep. Is there another way to do it without a form then?
 

Archived message: Re: Graping the page HTML in a form (Macromedia Dreamweaver)