Click here to Skip to main content
15,905,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a list. it has drag and drop feature. how to get drag item name using jquery. please help

$( ".cart ol" ).droppable({
     accept: ":not(.ui-sortable-helper)",
     drop: function(event, ui ) {
     $( this ).find( ".placeholder" ).remove();
     $( "<li></li>" ).html(ui.draggable.html()).appendTo(this);
     }
Posted

You may be able to get some clue from my example below:

http://jsfiddle.net/j9bNj/3/[^]
 
Share this answer
 
Comments
amnk.info 4-Dec-13 0:23am    
thanks for reply. i will try
See this Link:- http://www.jqueryui.com/[^]
 
Share this answer
 

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