Get attributes of a clone with jquery

Discussion in 'jQuery' started by phantom, Dec 26, 2012.

  1. #1
    How can I get the attributes or (assign them) of a draggable clone everytime clone is dragged with Jquery?

    I can create draggable clones with :

    $('.drag').draggable({helper: "clone"}); $('.drag').bind('dragstop', function(event, ui) {  $(this).after($(ui.helper).clone().draggable()); });
    Code (markup):

    But how to access the clones attributes anytime I want after I drag them?
     
    Last edited: Dec 26, 2012
    phantom, Dec 26, 2012 IP
  2. vksinghal

    vksinghal Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,
    we have developed a game and some plugins using jquery,email us the problem. we will solve it in another 2-4 hours.
    Regards,
    Vijendra
    phploaded.com
     
    vksinghal, Dec 27, 2012 IP