Access dialogArguments property (window) in all browsers
Access dialogArguments property (window) in all browsers
function GetDialogArguments() {
var arguments;
if (window.dialogArguments) { // For IE
arguments = window.dialogArguments;
}
else { //For FF and Chrome
arguments = window.opener;
}
return arguments;
}
function GetDialogArguments() {
var arguments;
if (window.dialogArguments) { // For IE
arguments = window.dialogArguments;
}
else { //For FF and Chrome
arguments = window.opener;
}
return arguments;
}
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home