Parse HTML from external source before loading in a frame

wxdqz

New Member
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 ( <!-- m --><a class="postlink" href="http://forums.devshed.com/archive/1/2002/02/4/31147">http://forums.devshed.com/archive/1/2002/02/4/31147</a><!-- m --> ) 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.
 
Back
Top