Hello,
I am displaying a the html for a web page in a frame on my web page.
We only support IE and are only using Win XP or higher.
That web page contains HREF entries for other url's.
For example:
<A HREF="http://www.myhost.com" >MyHost</A>
Is there a way to use JavaScript to either programmatically dynamically
update all the links or to dynamically modify the link when it is clicked?
My goal is to programmatically end up with the behavior of the below link
without actually modifying the <body> of the original html.
<A HREF="http://localhost:12060/analyze.aspx?url=http://www.myhost.com">MyHost</A>
My problem is that the user can specify any web site to be included in my frame. I would like to add either a script to iterate through the objects in that
html and add a prefix to the HREF= text or to leave the HREF text unchanged
but to catch the OnClick event and then to add the prefix on prior to the
link being processed.
I am new to this and I would appreciate any help.
Thanks,
-Tom