nuriyazgan
08-05-2003, 12:52 PM
Hello i want to refresh another window that was opened from current window.Here is my code.
<script language="JScript">
var child
function OpenWindow() {
child=window.open"MesajGir.aspx","MesajGirme","width=600,
height=500,left=200,top=75")
}
function Refresh() {
child.location.reload(true)
}
</script>
new window is opened but when i want to refresh it by clicking a button on the page refresh is called but jscript runtime error occurs. child is null or not an object error written..
Can anyone who knows tell me?Thanks for your help..
<script language="JScript">
var child
function OpenWindow() {
child=window.open"MesajGir.aspx","MesajGirme","width=600,
height=500,left=200,top=75")
}
function Refresh() {
child.location.reload(true)
}
</script>
new window is opened but when i want to refresh it by clicking a button on the page refresh is called but jscript runtime error occurs. child is null or not an object error written..
Can anyone who knows tell me?Thanks for your help..