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

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

arrays - Algorithm to find ideal starting spot in a circle -

php - Autoloader issue not returning Class -