Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     $('tr.load_ua').click(function() {
  3.       $.get('<?php echo site_url(); ?>/espace_client/content_line/?id_ua='+$(this).attr('id'),
  4.         function(data){
  5.         //Data OK
  6.           //alert("Data Loaded: " + data);
  7.  
  8.         // not ok, why he doesn't do anything ? why not loading the ajax content after the current element ?
  9.           $(this).after(data);
  10.         }
  11.       );
  12.  
  13.  
  14. // ajax call return OK
  15. <tr><td colspan="3">test</td></tr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement