daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Aug 16th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(function(){
  2.     $.ajax({
  3.       url: "/myurl",
  4.       dataType: "text",    
  5.       success: function( data, textStatus, jqXHR ) {
  6.  
  7. var parsedtext = data.split(',');
  8.  
  9. $.each(parsedtext, function()  {
  10.       $("#text").append(this);
  11. });
  12.       }
  13.     });
  14. });
  15.    
  16. $(function(){
  17.         $.ajax({
  18.           url: "/myurl",
  19.           dataType: "text",    
  20.           success: function( data, textStatus, jqXHR ) {
  21.  
  22.     var parsedtext = data.split(',');
  23.  
  24.     $.each(parsedtext, function()  {
  25.           $("#text").append(this);
  26.     }).done(function() {
  27.       alert('done');
  28.      startnewfuction();
  29.     });
  30.           }
  31.         });
  32.     });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top