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

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

laravel - Undefined property: Illuminate\Pagination\LengthAwarePaginator::$id (View: F:\project\resources\views\admin\carousels\index.blade.php) -