Changes between Version 53 and Version 54 of Catalogue
- Timestamp:
- Jun 27, 2012 12:36:03 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Catalogue
v53 v54 27 27 for(var i = 0; i < form.length; i++) { 28 28 var el = form.elements[i]; 29 if( typeOf(el) == HTMLInputElement ) { 30 alert(el.name); 31 totalAmount += getPrice(el) * parseInt(el.value); 32 } 29 alert(el.type); 30 totalAmount += getPrice(el) * parseInt(el.value); 33 31 } 34 32 alert(totalAmount);