Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function(){
- $(document).bind("itemremoved",function(evt,elem){alert('"' + elem.innerHTML + '"is Removed');});
- $(document).dblclick(function(evt){
- if($(evt.target).is("li")){
- $(evt.target).remove();
- $(document).trigger("itemremoved",[evt.target]);
- }
- });
- });
Add Comment
Please, Sign In to add comment