Changes between Version 39 and Version 40 of Catalogue


Ignore:
Timestamp:
Jun 26, 2012 11:22:07 PM (13 years ago)
Author:
tolix
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Catalogue

    v39 v40  
    66<script type="text/javascript">
    77  function recalc(el) {
    8     // var price = el.parentNode.previousSibling.firstChild.nodeValue;
    9     alert(el.parentNode.previousSibling.previousSibling.firstChild.nodeValue);
     8    var price = parseFloat(el.parentNode.previousSibling.previousSibling.firstChild.nodeValue);
    109    // el.nextSibling.nodeValue = ' = ';
    1110  }