How to get id of dropped object

2 posts, 1 answers
  1. Mark M
    Mark M avatar
    10 posts
    Member since:
    May 2006

    Posted 13 Jun 2014 Link to this post

    Hi All,
    Probably a simple question for you experienced folk.  How do I get the id of the element being dropped in the onDrop function?

    ​$(".dropArea").kendoDropTarget({ group: "choicesGroup", drop: onDrop });

    function onDrop(e) {
                     /* how to get the id of the element being dropped? */

    Thank you!
  2. Answer
    Alexander Valchev
    Alexander Valchev avatar
    2887 posts

    Posted 17 Jun 2014 Link to this post

    Hello Mark,

    I prepared a small example which demonstrates how to obtain the ID of the element being dropped. Please check it and let me know if you have any further questions:

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top