Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <input type="submit" name="submit_button" class="makeOrder button get_order" value="Отправить" />
- $('.get_order').click(function(){
- // $(this).parents("#orderForm").find(".count-item").val();
- var qntgoods = $(this).parents(".wrap_form").find(".count-item").val();
- $(this).parents(".wrap_form").find('.qnt-item').val(qntgoods);
- //$(this).parents("#orderForm").find('.price-item').val()
- var pricegoods = $(this).parents(".wrap_form").find('.price-item').val();
- var resultsend = pricegoods * qntgoods;
- $(this).parents(".wrap_form").find('.price-item').val(resultsend);
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement