$('#postcode').keydown(function (e) { if (e.keyCode == 13) { $('#find_button').click(); return false; } });