Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Created by laxtour on 08/01/2016.
- */
- $(document).ready(function(){
- $('.btn-update-item').on('click',function(e){
- e.preventDefault();
- var id = $(this).data('id');
- var href = $(this).data('href');
- var quantity = $('#product_'+id).val()
- window.location.href = href + "/" + quantity
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement