Extract IFrame source using JavaScript
<p>I have a simple HTML/PHP web page and one IFrame in it. The IFrame contains links to external web sites.</p>

<p>I need some JavaScript that will extract the exact URL of the web page that is currently displayed inside the IFrame (not just the base URL of the external site). How can this be done?</p>
