created a ticket: http://dev.jquery.com/ticket/4894
On Jul 11, 1:57 pm, Leeoniya wrote:
> yeah, that seems like a bug. here is a more concise version showing
> the bug and a non-delegation based version:
>
> // without event delegation -- works fine
> $(function() {
> $("#b").click(funct
yeah, that seems like a bug. here is a more concise version showing
the bug and a non-delegation based version:
// without event delegation -- works fine
$(function() {
$("#b").click(function() {
$("#a span").unbind("click");
return false;
});
Finally I've isolated the problem in a little example. I'll post the
code below.
As I could test if you bind the events to a child element then the die
() removes all events bound to that. In the example I just bind
mouseover, mouseout and click to a span inside of a paragraph. Then
remove the cl
The code is part of a big proyect, and I've added this behaviour
recently, so posting all the code is a little bit... imposible i
think, too much lines.
But thanks for the answer, knowing that it must work as it's expected
I'll jus debug the code to find if something is making it work wrong.
I'll
Using jQuery 1.3.2, I've tested this on my own very basic set up and
it's working as expected (only the click event is unbinded).
There's something else going on in your code. Could you provide more
information? Such as your HTML.
On Jul 7, 1:59 pm, Pau Taw wrote:
> Hi all. I've the next code:
>
5 matches
Mail list logo