set max value for input number javascript code example
Example 1: setting max input var
htaccess --> php_value max_input_vars 3000
.php --> ini_set('max_input_vars', 3000);
Example 2: jquery set max attribute value
$(document).ready(function() {
$("input").attr({
"max" : 10, // substitute your own
"min" : 2 // values (or variables) here
});
});