Events do not work with the elements which are dropped - UI droppable
I want to display a properties div on click event of another div named abc, which has been dropped using jquery UI droppable. I could show the properties div by binding an event with the a开发者_Python百科bc div, but I want to hide the properties div when the div abc loses its focus.
Thanks in advance
you can indeed bind the click event and then use the focusout() function inside.
like :
(#abc).live('click',function() {
......
(#abc).focusout(function() { .....
});
});
If I missed some subtility please tell me ;)
精彩评论