Home>
$(document) .ready (function () {
    $("#txt_jumppager"). keydown (function (e) {
      var curkey=e.which;
      if (curkey == 13) {
        $("#lbtn_jumppager"). click ();
        return false;
      }
    });
});

Among them, txt_jumppager is the text box id, and lbtn_jumppager is the event button id.

  • Previous Briefly introduce friend functions and friend classes in C ++ programming
  • Next Oracle knowledge finishing notes