Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Jquery causing problem.

$
0
0

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.");

Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>