Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- $(document).on("click",".load_more_record",function(){
- $(".div_load_more_record").remove();
- $(".ajax_loader").show();
- var product_id = $(".ProductListClass:last").attr('div_attr');
- $.ajax({
- url: $('#FULL_BASE_URL').val()+'/products/update_listing_by_category',
- method:'POST',
- data :{product_id:product_id},
- dataType:'html',
- }).done( function (html){
- $(".ajax_loader").hide();
- $(".ProductListClass:last").html(html);
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement