Menu
Below is the code. In the 4th box I can not get it to put in a decimal. I need it to multiply a percentage in that box. If anyone can help me figure out I would appreciate it A LOT!
<script language=”JavaScript” type=”text/javascript”>
<!–
function MultIPs(obj){
var ips=obj.getElementsByTagName(‘INPUT’);
ips[ips.length-1].value=0;
var total=1;
for (var zxc0=0;zxc0<ips.length-1;zxc0++){
ips[zxc0].value=ips[zxc0].value.replace(/D/g,”);
total*=ips[zxc0].value||0;
}
ips[ips.length-1].value=total;
}
//–>?
</script>