Unrecognised problem ;-)

Unrecognised problem ;-)

Hi,
I have noob problem ( yes I`m noob, but learning jQuery with pleasure ;p )

I want to sum some inputs and put the result into <span class="total">
Now i have:

  1. // Function
  2.  function button_click() {
        var price_total = 0;
        $('input.cena').each(function()
        {
        price_total = price_total + parseFloat(this.value);
        });
        $('#total').html(price_total);
        }






  3. // html code
  4. <p id="row0"><input style="width: 25px;" name="ilosc[0]" type="text"> <input style="width: 550px;" name="produkt[0]" type="text"> <input style="width: 50px;" name="cena[0]" type="text"> <a href="#" id="zamowienie" onclick='removeProduct("#row0"); return false;'>Usuń</a></p>
    <p id="row1"><input style="width: 25px;" name="ilosc[1]" type="text"> <input style="width: 550px;" name="produkt[1]" type="text"> <input style="width: 50px;" name="cena[1]" type="text"> <a href="#" id="zamowienie" onclick='removeProduct("#row1"); return false;'>Usuń</a></p>
    <input type="button" onClick='button_click(); return false;' id="przeladuj" value="Przeladuj cenę">  // button where i make action with function button_click


  5. <span class="total" id="total"></span>
Sum values from all input called cena (price) is ok, but i need to multiplication value from ilosc (quantity) with cena (price) in this same row(n+1). something like price_total = price_total + (ilosc.row(n+1)*cena.row(n+1))

My english isnt good but I hope that you understand my problem ;-)