JQuery Event Bubbling, live(), click event not propogating?

You need to have quotes around body in the $(body) chunk because there is no variable named body $('body'). Append($(''). AddClass('last').

Text('last div')).

You need to have quotes around body in the $(body) chunk because there is no variable named body. $('body'). Append($('').

AddClass('last'). Text('last div')).

That was sloppy copy-editing on my part, I didn't proof read the code on the "this works" section. Thanks for pointing it out. – KieselguhrKid Jul 22 '10 at 2:37 1 Oh, hrm.It seems to work fine for me otherwise.

– EndangeredMassa Jul 22 '10 at 2:39 True, it does seem to work. I tried to duplicate your problem and failed: jsfiddle.Net/nfYsu. @KieselguhrKid Is there something else that you're leaving out which could be causing this issue?

– karim79 Jul 22 '10 at 2:41.

$('body'). Delegate('. Last', 'click', function(){ alert('hello') }).

Last" to respond to a live() click event. It will respond to the first div, but not the last div (again, the div that visually appears in the foreground). This is driving me nuts, there are no other click events on the page.

If I replace ". Last" with ". First" it works, I have no other click events so I don't see why propagation should stop.

I even assigned z-index: -1 to last. This has to be incredibly simple, any ideas?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions