开发者

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 ;)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜