function change(objName, min, max, step) { var obj = document.getElementById(objName); var tmp = +obj.value + step; if (tmp<min) tmp=min; if (tmp>max) tmp=max; obj.value = tmp; *!* jQuery('#calculator .form-control').trigger("input"); */!* }