A
Ashish
hi all ,
Iam adding the following javascript by
RegisterStartScript("myscript", "<script language='JavaScript'> var
agree = confirm('are you sure you wanna do this ?'); if (agree){
document.forms[0].submit(); } </script>")
adding this , the page does executes the script and message pop ups,
but then i get the following error
Microsoft JScript runtime error: 'contentWindow.document' is null or not
an object
is there something wrong iam doing, it used to work for me ?
any help would appreciated
TIA
-ashish
Iam adding the following javascript by
RegisterStartScript("myscript", "<script language='JavaScript'> var
agree = confirm('are you sure you wanna do this ?'); if (agree){
document.forms[0].submit(); } </script>")
adding this , the page does executes the script and message pop ups,
but then i get the following error
Microsoft JScript runtime error: 'contentWindow.document' is null or not
an object
is there something wrong iam doing, it used to work for me ?
any help would appreciated
TIA
-ashish