ASP.NET Cross Domain Modal Window (window.showModalDialog) - Parameter Value Always "undefined"
I have two webpages, parent page .aspx and child page .html. On parent page I have JavaScript function for invoking child page as modal window via window.showModalDialog. function
Solution 1:
Parent Page:
<script>
function test(str) {
alert(str);
}
</script>
Child Page:
<input id="Button1" type="button" value="Ready For Test" onclick="opener.test('my value here')" />
Post a Comment for "ASP.NET Cross Domain Modal Window (window.showModalDialog) - Parameter Value Always "undefined""