Changes between Version 44 and Version 45 of Catalogue


Ignore:
Timestamp:
Jun 26, 2012 11:33:01 PM (12 years ago)
Author:
tolix
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Catalogue

    v44 v45  
    77  function recalc(el) {
    88    var price = parseFloat(el.parentNode.previousSibling.previousSibling.firstChild.nodeValue.replace(/\s/g, ''));
    9     alert(price);
    10     // el.nextSibling.nodeValue = ' = ';
     9    el.nextSibling.nodeValue = ' = ' + str(price * el.value);
    1110  }
    1211</script>
     
    5857<tr>
    5958 <td class="store">Базовый тариф, 1 месяц</td>
    60  <td class="store" align="center">3 0 0. 0 1 руб/мес<sup>1</sup></td>
     59 <td class="store" align="center">300 руб/мес<sup>1</sup></td>
    6160 <td class="store"> &times; <input name="monitoring_basic" class="shopping-cart-input"
    62   onkeyup="javascript:recalc(this)"></input></td>
     61  onkeyup="javascript:recalc(this)"></input> </td>
    6362</tr>
    6463<tr>