I am trying to reload page. But getting prompt message.
location.reload();
$window.location.reload();
Is there a way to reload page without prompting a message?
I am trying to reload page. But getting prompt message.
location.reload();
$window.location.reload();
Is there a way to reload page without prompting a message?
You can use window.location = window.location.href;