I have elements on the page which are draggable with jQuery. Do these elements have click event wich navigates to another page (ordinary links for example).  What is the best way to prevent click from firing on dropping such element while allowing...
I cannot find out how to obtain destination element with jQuery UI sortable.      $("#pages").sortable({         opacity: 0.6,         update: function(event, ui) {             var first = ui.item; // First element to swap             var sec...
here is a simple question.  I have a 'ul' which i have made sortable via jquery-ui's sortable() function.  I want to remove elements when they are dragged off the list.  The way i have it implemented works in the sense that when i drag an...
I'm new to jQuery, and I'm totally struggling with using jQuery UI's sortable.  I'm trying to put together a page to facilitate grouping and ordering of items.  My page has a list of groups, and each group contains a list of items. I...
I'm having an issue with my jQuery sortable list, where the text is being selected. I discovered the function disableSelection() but can't seem to get it working.  Here's the js:  $('ul#current_projects').sortable({ placeholder: &...
Maybe I don't understand how clone works with sortable, but here is what I would like to do.   When sorting an item I would like a clone of the item I am dragging remain until I stop drop the item in its new position.  Here's the code:  <h...
If I add elements to list after I initialize .sortable it doesn't work correctly.  See example jsFiddle  Sample HTML:  <div class="container"> </div> <br /> <button class="add-fields">add</button>   S...
We are currently trying to accomplish cross-frame dragging between draggables and sortables provided by jQuery UI. This is working properly now. However, the mouse offset seems off when dragging from the parent to the child frame--please see this fid...
I have droppable elements in main frame, and sortable inside iframe app. What I need is to connect them - to be able to drag items to iframe's sortable  There is what I've done: http://jsfiddle.net/w9L3eorx/1/  Inside iframe I have  <div c...
I'm trying to cancel sortable on the remove function if the response to a confirmation box is negative.  Here is my sortable unordered list.    $("#items").sortable({     remove: function(event, ui) {         var id = ui.item.attr("id...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.