Search and Top Navigation
#4067 closed bug (duplicate)
Opened February 05, 2009 03:26PM UTC
Closed February 19, 2010 03:28AM UTC
Other events are blocked
| Reported by: | Agone | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.8 | 
| Component: | ui.selectable | Version: | 1.6rc6 | 
| Keywords: | event | Cc: | |
| Blocked by: | Blocking: | 
Description
When I use selectable, I can't use other event feature of jquery. I use selectable with jQuery.live in same element. Ex :
With this example I can select or unselect all div in my div but I can't display "I've clicked span in my div !" !!!
Code :
<div id="mydiv">
   <div>toto</div>
   <span>click here!</span>
   <div>titi</div>
   <span>click here!</span>
   <div>tata</div>
   <span>click here!</span>
   <div>tutu</div>
   <span>click here!</span>
   <div>tyty</div>
</div>
<script type="text/javascript">
$("#mydiv span").live("click",function(){alert("I've clicked span in my div !");});
$("#mydiv").selectable({filter:"div"});
</script>
I need to use live with selectable. I try to use jQuery.click or mouseup but it's the same problem when selectable is used...
Attachments (0)
Change History (4)
Changed February 24, 2009 04:53AM UTC by comment:1
Changed March 08, 2009 02:31PM UTC by comment:2
| milestone: | 1.7 → 1.8 | 
|---|
Changed March 23, 2009 04:00PM UTC by comment:3
Related (same thing?): http://dev.jqueryui.com/ticket/4219
Also seen in FF 3.0.7.
I also had this problem in FF 3.0.6 (but not IE). jQuery version 1.3.2.