Advertisement
Guest User

Untitled

a guest
May 3rd, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. $(function() {
  2. $(document).on("click",".load_more_record",function(){
  3. $(".div_load_more_record").remove();
  4. $(".ajax_loader").show();
  5. var product_id = $(".ProductListClass:last").attr('div_attr');
  6.  
  7. $.ajax({
  8. url: $('#FULL_BASE_URL').val()+'/products/update_listing_by_category',
  9. method:'POST',
  10. data :{product_id:product_id},
  11. dataType:'html',
  12. }).done( function (html){
  13. $(".ajax_loader").hide();
  14. $(".ProductListClass:last").html(html);
  15. });
  16. });
  17. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement