Guest User

Untitled

a guest
Feb 24th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. $j('#showUploadedImages').on('click', function() {
  2. $j.ajax({
  3. url: 'https://images.playacommunity.com/upload/server/php-general-images/',
  4. dataType: 'json',
  5. context: $j('#fileupload')[0],
  6. data: 'userID=' + $j('#userID').val()
  7. }).always(function () {
  8. $j(this).removeClass('fileupload-processing');
  9. }).done(function (result) {
  10. $j(this).fileupload('option', 'done')
  11. .call(this, $j.Event('done'), {result: result});
  12. });
  13. });
Add Comment
Please, Sign In to add comment