My issue is that I need a colorbox to reload the parent page on close.
This is what I have:
$(".example").colorbox({
onClosed:function(){
parent.location.reload();
}
});
Colorbox loads fine, but doesn't refresh the parent page on close. Any Ideas?
Use window.location.reload();
or window.location = window.location;
instead of parent.location.reload();