web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Jquery causing problem.

(0) ShareShare
ReportReport
Posted on by

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)
  • Community Member Profile Picture
    on at

    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,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans