I want to change the user status on click of a Button, so all I am doing is, detecting the current status and changing, if needed.
But in this case the changes the s
Look this You can force the the reload to get the page from server by setting the forceGet parameter to true:
location.reload(true);