Guest User

Untitled

a guest
Jun 13th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. <script type="text/javascript">
  2. $(document).ready(function() {
  3. doReady();
  4.  
  5. var prm = Sys.WebForms.PageRequestManager.getInstance();
  6. prm.add_endRequest(function(s, e) {
  7. doReady();
  8. });
  9. });
  10.  
  11. function doReady() {
  12. $('.drag').draggable({ revert: true,helper: 'clone' });}
  13. $('.drop').droppable({
  14. tolerance: touch,
  15. drop: function() { alert('dropped'); }
  16. });
  17. </script>
  18.  
  19. tolerance: "touch",
  20.  
  21. $(document).ready(function() {
  22.  
  23. doReady();
  24.  
  25. var prm = Sys.WebForms.PageRequestManager.getInstance();
  26. prm.add_endRequest(function(s, e) {
  27. doReady();
  28. });
  29.  
  30. }); // End of document ready
  31.  
  32. function doReady() {
  33.  
  34. $('.drag').draggable({ revert: true,helper: 'clone' });
  35.  
  36. } // End of do ready
  37.  
  38. $('.drop').droppable({
  39. tolerance: "touch", // Here should be a string
  40. drop: function() { alert('dropped'); }
  41. });
  42.  
  43. function doReady() {
  44.  
  45. $('.drag').draggable({ revert: true,helper: 'clone' });
  46. $('.drop').droppable({
  47. tolerance: "touch", // Here should be a string
  48. drop: function() { alert('dropped'); }
  49. });
  50.  
  51. } // End of do ready
Add Comment
Please, Sign In to add comment