Accustomed to CS carriage return operator, the BS webpage form is also carriage return 666, bs666
1. In the first step, you need to press ENTER input or other form buttons in the form to give a clsss, for example, the following $ ('. cls ');
2. Step 2: copy the following code and complete the last automatic submission: $ ("# savedown"). click ();
3. Make sure to select all input boxes. Otherwise, the operation will be inconvenient.
Certificate ----------------------------------------------------------------------------------------------------------------------------------------
$ ("Input"). focus (function (){
This. select ();
});
Certificate -----------------------------------------------------------------------------------------------------------------------------------------
<Input style = "width: 208px;" id = "onlyshipid" class = "form-control cls" type = "text" onblur = "clearorchangeNum ()">
<Input style = "width: 208px;" id = "onlyshipid" class = "form-control cls" type = "text" onblur = "clearorchangeNum ()">
$ (Function (){
$ ("Input"). focus (function (){
This. select ();
});
$ ('# Goodsnameid'). focus ();
Var $ indium = $ ('. cls ');
$ Indium. bind ('keylow', function (e ){
Var key = e. which;
If (key = 13 ){
E. preventDefault ();
Var nxtIdx = $ indium. index (this) + 1;
If ($ ('. cls'). size () = nxtIdx ){
$ ("# Savedown"). click ();
$ (". Cls: eq (" + 0 + ")"). focus ();
$ (". Cls: eq (" + 0 + ")"). select ();
} Else {
$ (". Cls: eq (" + nxtIdx + ")"). focus ();
$ (". Cls: eq (" + nxtIdx + ")"). select ();
}
}
});
});