
I have made a drag drop functionality using JQuery, it is working well when applied on static records, as I am using ajax call and updating the div with several records, but Drag functionality is not working on dynamically created records.
at first I am populating my div with records, and after this I am running my code to make divs draggable,
after trying lot, I put an alert after the below code. and drag drop works fine, but when I remove only the alert statement, again it does not work.
what may be the reason?
$(window).load(function() {
$(".dragable").draggable({
cancel: "a.ui-icon",
revert: true,
helper: "clone",
cursor: "move",
live: true,
revertDuration: 0
});
});
alert("Drag code executed.");
*This post is locked for comments
I have the same question (0)yes I am using this code in an HTML web resource,
how can I get rid of the alert?
yes It is a jquery question, but as it is applied along with CRM,