I have a modal window and would like to refresh its parent. I am already sending a value back to the parent which works fine so using similar code I am trying to refresh the page as well.
The problem is that I am getting a message saying that reload is not a valid option.
This is the working example of sending the value back:
window.top.document.getElementById('txtCustomerType').value = value;
This is the additional code I am trying to add which does not work:
window.top.document.reload();