...">
Guys, I tried to refresh my page with a button. <input type="reset" value="Refresh" /> but it does not refresh, not update jst textboxes to refresh the whole page.
<input type="reset" value="Refresh" />
Try the following:
<INPUT TYPE="button" VALUE="Reload Page" onClick="history.go(0)">
I know this post is four years old, but I wanted to put this snippet that I used using Rails formatting.
<%= button_to "Refresh", "", { :onclick => "history.go(0)" } %>
in my case this works very well:
= link_to "close", "", :onclick => '$("#ajax_form").hide(); history.go(0); return false;', :style => "color:white"