Guest User

Untitled

a guest
Jul 20th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. new AjaxUpload($('#addImage'), {
  2. action: 'SaveDataBank.aspx',
  3. name: 'uploadimage',
  4. dataType: 'json',
  5. params: { clientid: GetSelectedClient() }
  6. onSubmit: function (file, ext) {
  7. },
  8. onComplete: function (file, response) {
  9. }
  10. });
  11.  
  12. params: { clientid: GetSelectedClient() },
  13.  
  14. $('#addImage').click(function(){
  15. // code here
  16. });
  17.  
  18. new AjaxUpload($('#addImage'), {
  19. action: 'SaveDataBank.aspx',
  20. name: 'uploadimage',
  21. dataType: 'json'
  22. });
  23.  
  24. new AjaxUpload($('#addImage'), {
  25. action: 'SaveDataBank.aspx',
  26. name: 'uploadimage',
  27. dataType: 'json'
  28. });
  29.  
  30. $('input[type="file"]').live('click', function(e){
  31. // code here
  32. });
  33.  
  34. new AjaxUpload($('#addImage'), {
  35. action: 'SaveDataBank.aspx',
  36. name: 'uploadimage',
  37. dataType: 'json',
  38. onSubmit: function (file, ext) {
  39. this.setData({clientid: GetSelectedClient()});
  40. }
  41. });
  42.  
  43. $('#addImage').mousedown(function(){
  44. //code here
  45. });
  46.  
  47. $('#addImage').bind('mousedown',function(){
  48. //code here
  49. });
Add Comment
Please, Sign In to add comment