Changes between Version 45 and Version 46 of Catalogue
- Timestamp:
- Jun 26, 2012 11:36:28 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Catalogue
v45 v46 7 7 function recalc(el) { 8 8 var price = parseFloat(el.parentNode.previousSibling.previousSibling.firstChild.nodeValue.replace(/\s/g, '')); 9 el.nextSibling.nodeValue = ' = ' + str(price * el.value);9 el.nextSibling.nodeValue = ' = ' + (price * el.value).toFixed(2).toString(); 10 10 } 11 11 </script>