var myNamespace = {};
myNamespace.round = function(number, precision) {
return number;
};
function myMove(){
var q = 0;
var total = 0;
var title = "";
var totaltitle = "";
document.getElementById('htmltotal').innerHTML = totaltitle+'
Your total is: '+myNamespace.round(total, 1)+' item(s)';
document.getElementById('htmltotal2').innerHTML = document.getElementById('htmltotal').innerHTML;
if(myNamespace.round(total, 1) < 1){
document.getElementById('product').disabled = true;
document.getElementById('product').setAttribute('style','background-color: gray !important');//alert("Total is < 50 items");
}else
{
//alert("Total is > 50 items");
document.getElementById('product').disabled = false;
document.getElementById('product').setAttribute('style','background-color: #672159 !important');
}
}
myMove();