hey guys! onload function is working in window.open! but it is not working in .showmodaldialog
newwindow2=window.open('app.html','app','Width:700;Height:350; modal:true;');
newwindow2.onload=function()
{ alert("hello");
}
This works
newwindow2=window.showModalDialog('app.html','app','dialogWidth:700px;dialogHeight:350px;dialogTop:200px; dialogLeft:200px;resizable=no;');
newwindow2.onload=function()
{ alert("hello");
}
Not working