I want to refresh the parent page when I close my jQuery dialog.
this is the code I use for my dialog. I tried top.opener.location
but it did not do nothing but put me on top of the page.
$("#dialog").dialog({
height: 700,
width: 600,
closeOnEscape: true,
title: 'View',
close: function(event, ui){
top.opener.location.reload(true);
}
}).dialog("open");