Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(document).ready(function() {
- doReady();
- var prm = Sys.WebForms.PageRequestManager.getInstance();
- prm.add_endRequest(function(s, e) {
- doReady();
- });
- });
- function doReady() {
- $('.drag').draggable({ revert: true,helper: 'clone' });}
- $('.drop').droppable({
- tolerance: touch,
- drop: function() { alert('dropped'); }
- });
- </script>
- tolerance: "touch",
- $(document).ready(function() {
- doReady();
- var prm = Sys.WebForms.PageRequestManager.getInstance();
- prm.add_endRequest(function(s, e) {
- doReady();
- });
- }); // End of document ready
- function doReady() {
- $('.drag').draggable({ revert: true,helper: 'clone' });
- } // End of do ready
- $('.drop').droppable({
- tolerance: "touch", // Here should be a string
- drop: function() { alert('dropped'); }
- });
- function doReady() {
- $('.drag').draggable({ revert: true,helper: 'clone' });
- $('.drop').droppable({
- tolerance: "touch", // Here should be a string
- drop: function() { alert('dropped'); }
- });
- } // End of do ready
Add Comment
Please, Sign In to add comment