Answers for "add maxlength to input jquery"

0

jquery set max attribute value

$(document).ready(function() {
    $("input").attr({
       "max" : 10,        // substitute your own
       "min" : 2          // values (or variables) here
    });
});
Posted by: Guest on November-04-2020
0

input max length

<input maxlength="10" />
Posted by: Guest on October-02-2020

Browse Popular Code Answers by Language