Click to See Complete Forum and Search --> : Parse HTML from external source before loading in a frame


jddufort
04-10-2003, 12:20 PM
Hi,

I'd like to load an external page but strip some HTML tags (a table) from it.

I figured that I could load the desired page in an hidden IFrame, parse it in JavaScript to remove the undesired tags and write the rest in the visible frame.

I found some code to control the onLoad event ( http://forums.devshed.com/archive/1/2002/02/4/31147 ) but I can only make it work with local files.

Is it a good solution? :confused:

Has anyone done something like this?

Thanks alot.

JD.

viravan
04-10-2003, 12:47 PM
If you want to read a file from the server, check out my post at the link shown below:

http://forums.webdeveloper.com/showthread.php?s=&threadid=7526

:)

V.V.