JAVASCRIPT
<script> window.opener.hdnmes.value='asdasd'; window.close(); </script> (ERROR)
^
i am getting this error when opening the frmdisplayMarkSheet.aspx page by this way---->
Dim strValue As String= " <a href=MarkSheets/frmDisplayMarkSheet.aspx?TestID=" & TestID.Trim & "&StudentID=" & Session("StudentID") & _
" target= _blank > " & TestName & " </a> "
Return strValue
i did not use opener but after running page i see in VIEW SOURCE CODE at the top of page i got this line automatically added-->
<script> window.opener.hdnmes.value='asdasd'; window.close(); </script>
pls help me
|