jQuery(function($){ jQuery("input[name='amount']").attr("min",3); });