Skip to main content
Participating Frequently
May 12, 2006
Question

ASP - strip html from loaded page

Hi,
I have a link to an external site (although owned by the same company)... which when clicked opens a new window and displays some results.

The link in question actually subits form and passed some values to the new window which loads the external site -takes the form values and displays the resutls.


pretty easy so far..

problem is.. the results page shows a load of info that I don't want...

so I'm looking for a way of stripping the html coding out before the display...


now normally that would be easy if the html was on the site side.. but it's being generated on the other side.

so basically I need to have an ASP page.. which loads the outside source.. gets the info out of it.. and then displays that.

what I don't know how to do is stuff the generated html into an ASP variable first.. before displaying it..

Any ideas?

James
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
May 12, 2006
You need to use the server-side XMLHTTP object to request the page in order
to do that.
http://www.4guysfromrolla.com/webtech/110100-1.shtml

You'll almost certainly have version 3 of the component, so read the code
comments as a line or two differs for version 3.


"jamesy" <mtm81@hotmail.com> wrote in message
news:e41t86$bgr$1@forums.macromedia.com...
> what I don't know how to do is stuff the generated html into an ASP
> variable
> first.. before displaying it..
>
> Any ideas?
>
> James
>


Translate