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

php - Autoloader issue not returning Class -

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

C++ Program To Find Smallest and Largest Number In Array -