User-807418713 posted
Hello
This is my code
<script type="text/javascript">
function onmouseover_Item()
{
var AvailablePcs = parseFloat(document.getElementById('TAvi').value);
var TotalPcs = parseFloat(document.getElementById('TPcs').innerText);
if (AvailablePcs < TotalPcs)
{
alert('Please Check The Total Value');
return false;
}
return true
}
</script>
I want to add pone more value that is AvailblePcs < TotalPcs + ExtraPcs That ExtraPcs Value Will Be 10