keyup.enter reloads 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();
}
});