Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery set max attribute value

$(document).ready(function() {
    $("input").attr({
       "max" : 10,        // substitute your own
       "min" : 2          // values (or variables) here
    });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #set #max #attribute
ADD COMMENT
Topic
Name
8+7 =