Hi All
I am creating a popup window in my application and window pops up as expected. However a parameter say 'P1_NEW' is not passed from calling page to popup window.
Can some one help on this. I have created a sample for this https://apex.oracle.com/pls/apex/f?p=55947:1:106314583296398::::: (authentication is not required). Click on Details, a pop up comes with blank. Expected is &P1_NEW. value in pop up window.
code which I am using is
<script>
function modalWin() {
if (window.showModalDialog) {
window.showModalDialog("f?p=&APP_ID.:2:&SESSION.:POP:NO::&P1_NEW.:","name","dialogWidth:600px;dialogHeight:400px");
}
else {
window.open("f?p=&APP_ID.:2:&SESSION.:POP:NO::&P1_NEW.:","name","height=400,width=600,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes");
}
}
</script>
page1 is calling popup window and P1_NEW parameter is passed to pop up window.
Thanks