javascript - Refresh and action button Html -
i add button enables action , refresh current webpage. don't understand why following code doesn't work. in fact action performed not refresh.
<form class="form-search" action="@url.routeurl("xx")" method="post"> <button type="submit" class="btn" onclick="window.location.reload();"></button> </form>
any advice?
that doesn't make sense. action request page. refresh request same page. choose one.
Comments
Post a Comment