<td><input name="itemCode[]" value="" class="tInput" id="itemCode" tabindex="1"/> </td> <td><input name="itemDesc[]" value="" class="tInput" id="itemDesc" readonly="readonly" /></td> <td><input name="itemQty[]" value="" class="tInput" id="itemQty" tabindex="2" /></td> <td><input name="itemPrice[]" value="" class="tInputt" id="itemPrice" readonly /> </td> <td><input name="total[]" value="" readonly id="totalprice" /> </td>
BUT now onwards all the rows are generated by Javascript
'<td><a id="deleteRow"><img src="images/icon-minus.png" alt="Remove Item" title="Remove Item"></a></td>', '<td><input name="itemCode[]" class="tInput" value="" id="itemCode" /> </td>', '<td><input name="itemDesc[]" class="tInput" value="" id="itemDesc" readonly="readonly" /></td>', '<td><input name="itemQty[]" value="" class="tInput" id="itemQty" /></td>', '<td><input name="itemPrice[]" class="tInput" value="" id="itemPrice" /></td>', ' <td><input name="total[]" value="" readonly id="totalprice" /> </td>',
i want to multiply quantity and price and send the output in total price before the new row added ..below image will more clarify a;; this
Attached image(s)
This post has been edited by Atli: 19 August 2012 - 12:50 PM
Reason for edit:: Added [code] tags, and edited the email address out of the screenshot.

New Topic/Question
Reply


MultiQuote




|