dblclick on item addeds dynamically in Sortable List
Hi, I have a problem with a dblclick event on Sortable List.
If i added item dynamically in this mode:
- $('<li id="id">Text</li>').appendTo("ul#list");
When a click on one of this new item the event dblclick not respond, this problem appers only with new item added dynamically.
- $("ul#list li").dblclick(function(){
- alert($(this).attr('id'));
- });
Thanks very much.
I'm so sorry for my bad english.