Html – Ajax is preventing input type number min attribute
function Min(ID) { $Number = document.getElementById(ID); if ($Number.value < 1 && $Number.value !== "") { $Number.value = 1; } } echo ' <form id="' . $Item2 . '"> <input type="image" src="AddToCart.png" style="margin:5px; float:left; font-size:25px;" width="65px" height="33" id="' . $EAN2 .…