Home > front end >  Input box can only according to the input sequence
Input box can only according to the input sequence

Time:04-13


There is four input box, prevent user input is interlaced with js or jquery?
Must be input box 1 -- & gt; Input box - & gt; The order of 2, cannot be input box 1 -- & gt; Input box 4 such order,

CodePudding user response:

To set the input box readOnly or disabled each input line next again after a set back editable

CodePudding user response:

Enable, 1-4 Numbers, starting from 1, each text box loses focus events in judging the current text box to have value, have the value under a text box enbale=true, but the demand is a bit weird

CodePudding user response:

In addition to the first focus of each text box input events add a judge whether mandatory box has to fill in, ashing didn't fill in

CodePudding user response:

+ 1,
+ 10086
+ 1
  • Related