make it so enter does not reload js code example
Example: How to stop the page to be reload on keypress of enter
BY LOVE
$("#tax_rate_name, #tax_rate_rate").keypress(function (event) {
if (event.keyCode == 13) {
event.preventDefault();
}
});