Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.post('http://s1.anibox.in/ajax/ajax/add_anime',
- sendData,
- function(data) {
- var i = 0;
- var rowData = JSON.parse(data);
- var intervalHandler;
- intervalHandler = setInterval( function () {
- if ( i >= rowData.length ) {
- clearInterval( intervalHandler );
- return;
- }
- $('.modal-header').append(rowData[i]).fadeOut().fadeIn(1000);
- i++;
- }, 1000 );
- }//function(data)
- )//$.post
- .done(console.log("data sendend...."));
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement