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>functiontest(str) {
alert(str);
}
</script>
Child Page:
<inputid="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""