javascript - loading a html page into modal using html5 -
i had requirement load topology diagram taking few html form fields input. using window.open() method show topology diagram in new window. old fashioned, , want use modal instead. had used below code pass data new window
window.opener.document.getelementbyid("sample-xml").value;
but if using modal, can tell me how fit in other html page modal , @ same time pass few values parent html page child html page..
i tried using < dialog > tag it's supported on chrome.
Comments
Post a Comment