This example describes the jquery simple way to set the text box carriage return event. Share to everyone for your reference, specific as follows:
$ (document). Ready (function () {
$ ("#txt_JumpPager"). KeyDown (function (e) {
var curkey = E.which;
if (Curkey = =) {
$ ("#lbtn_JumpPager"). Click ();
return false;}});
The Txt_jumppager for the text box is id,lbtn_jumppager as the event button ID.
More interested readers of jquery related content can view the site topics: "JQuery common event usage and skill summary", "jquery form Operation skill Summary", "jquery common Plug-ins and Usage summary", "jquery operation JSON data technique summary", " jquery Extension Tips Summary, jquery table (table) Operation tips Summary, jquery Common Classic effects summary, jquery animation and special effects usage summary and jquery selector Usage Summary
I hope this article will help you with the jquery program design.