Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- javascript:void( $('[id*="comBox"]').each( function() { var anyID = $(this).attr('id').match(/^comBox([0-9]+)$/)[1]; $.ajax({type: 'POST', async: false, context: $(this), url: 'http://myanimelist.net/includes/ajax.inc.php?t=78', data: { id: anyID}, success: function() { $(this).append("Comment " + anyID + " removed."); }, error:function (){ $(this).append("Failed to delete " + anyID + ", try again in a moment."); }}); }) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement