Is it possible to refresh parent page from child’s child page using javascript.
I have a webform which opens a child window, a button on child window closes the present child window and opens a subchild window. Now a button on subchild should close the window and refresh the parent form.
Please suggest me the way of doing it.
Thank You.
For button click event
Code in Parent Page
function fun()
{
window.open('Child.aspx');
return false;
}
Code in child page
function fun()
{
window.close();
window.open('SubChild.aspx');
return false;
}
Use following in your child window.
EDITED
create two files
1] parent.html
2] child.html
EDITED LATEST
write a function in child1.html
call that function form child2.html as follows