I have a pop up window which uses the following code to call an action method when a checkbox is checked:
window.location.href('@Url.Action("process", "wip")');
This works fine, but I also need the window to refresh itself when the checkbox is checked. So I added the following under the previous line:
window.location.reload(true);
But somehow this causes the first line to not call the action method at all. Are the two "window.location" lines tripping over each other or something?