Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a jquery code as follows:
$(".leadattributes").dblclick(function(){ $(.widgets).children(".leadattributes").clone().prependto.("#columnspace");});
This was the initial jquery.
Now the first class ".leadattributes denotes an icon in the side menu which when double clicked copies a div (".leadattributes") from the div "widget" and inserts into the div "#columnspace" its executing perfectly till there.
Now i want the id of the div inserted and its position with respect to the main div ie (columnspace) after insertion.
i'm not able to get those values. can somebody please help

.leadattributes is a class used here in the query.
Posted
Comments
Nathan Minier 21-Oct-14 8:27am    
Do you only have a single div inserted into #columnspace, or do you have multiples?
yedhuvamshi 22-Oct-14 4:25am    
multiple divs

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900