Now he has a webpage, which contains an IFrame and a Button. Not the answer you're looking for? Difference between var and let in JavaScript. Change the URL of the document to embed in the iframe: The src property sets or returns the value of the src attribute in an iframe element. For examples of how to work around this cross-domain scripting restriction see this: To reload one iframe from within the other change to: $('#iframe', window.parent.document).attr('src', function (i, val ) { return val; }); On Internet Explorer javascript solutions like, This didn't work for me, however I did something like, Multiple errors in this answer: 1. not an ASP.NET component, therefore, softwareas.com/cross-domain-communication-with-iframes. Get the URL of the document that is shown in an iframe: HTML reference: HTML