Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ASP - strip html from loaded page

New Here ,
May 12, 2006 May 12, 2006
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
TOPICS
Server side applications
261
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 12, 2006 May 12, 2006
LATEST
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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines