Changes between Version 52 and Version 53 of Catalogue


Ignore:
Timestamp:
Jun 27, 2012 12:32:29 AM (12 years ago)
Author:
tolix
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Catalogue

    v52 v53  
    2727    for(var i = 0; i < form.length; i++) {
    2828      var el = form.elements[i];
    29       totalAmount += getPrice(el) * parseInt(el.value);
     29      if( typeOf(el) == HTMLInputElement ) {
     30        alert(el.name);
     31        totalAmount += getPrice(el) * parseInt(el.value);
     32      }
    3033    }
    3134    alert(totalAmount);