Remove anchor links / form targets within iframe content
<p>Basically I have an IFRAME that contains a given page - I want to be able to remove all anchor links and form targets so that the user is not able to navigate to other pages within the IFRAME. Is this possible to do?</p>

<pre><code>&lt;iframe src="&lt;?php echo $url; ?&gt;"&gt;&lt;/iframe&gt;
</code></pre>

<p>EDIT: RobinUS2 has provided a solution below, however how do I now remove all JavaScript events on the page?</p>
