I am opening a popup window in the following format :
window.open('http://URL', 'invitationwindow', 'height=250,width=500,scrollbars=yes,resizable=yes,status=yes')
How I do I Get the content of the popup in a div in the same page. I mean, I don’t want the popup but the content of it should be displayed in the same page from where the popup is fired.
How can this be done using Jquery? I know .append() and .html() will add content to div, but in this case I am getting content from the URL like http://example.com .
Thanks!
Usually people use an
<iframe>for that.