asp.net mvc - Action method not getting called when I refresh page (MVC/Javascript) -
i have pop window uses following code call action method when checkbox checked:
window.location.href('@url.action("process", "wip")');
this works fine, need window refresh when checkbox checked. added following under previous line:
window.location.reload(true);
but somehow causes first line not call action method @ all. 2 "window.location" lines tripping on each other or something?
Comments
Post a Comment