Changes between Version 53 and Version 54 of Catalogue


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Catalogue

    v53 v54  
    2727    for(var i = 0; i < form.length; i++) {
    2828      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);
    3331    }
    3432    alert(totalAmount);