JavaScript Bind Keyboard

$(document).keypress(function(e){
    if (e.which == 13){
        $("#save_post").click();
    }
});
Muddy Moth