[jQuery] Re: EVENT BUBBLING - IE6 - ARRGGGHHH!!

2008-06-10 Thread Michael
$(form).*bind*(submit, function(event){ event.stopPropagation(); }); better :-)

[jQuery] Re: EVENT BUBBLING - IE6 - ARRGGGHHH!!

2008-06-10 Thread Michael Stuhr
Joe schrieb: // To prevent event bubbling, return false (right?) return false; shouldn't that be event.preventDefault(); like $(form).*bind*(submit, function(event){ event.preventDefault(); }); ? micha

[jQuery] Re: EVENT BUBBLING - IE6 - ARRGGGHHH!!

2008-06-10 Thread Joe
Michael, Thanks for the reply. Both solutions work, but return false works as well. It turns out that the real issue was that the cookie on IE6 in a localhost environment cannot be set, well, at least I have been unsuccessful. I am running Multiple IEs on one box and IE Tester on another and

[jQuery] Re: EVENT BUBBLING - IE6 - ARRGGGHHH!!

2008-06-10 Thread Michael Stuhr
Joe schrieb: I am running Multiple IEs on one box and IE Tester on another and neither will allow me to set the cookie in IE6. IE7 is fine. afaik: that's not a bug, that's a feature. micha

[jQuery] Re: Event Bubbling - Not!

2008-03-04 Thread skube
That seems to work - sort of... $(#main).bind(mouseleave, function(event) { alert(event.target.id); }); But I'm still having problems...when I use event.target.id the results are inconsistent surprisingly in Firefox and not IE. Also, it is worth noting I needed to use the latest jQuery

[jQuery] Re: Event Bubbling - Not!

2008-03-03 Thread Benjamin Sterling
skube, try *mouseleave* instead, that one take bubbling into account. On 3/3/08, skube [EMAIL PROTECTED] wrote: I am a little confused about event bubbling. Say for example I have the following bit of HTML: code div id=main div id=one one /div

[jQuery] Re: event bubbling - checking for the right element

2007-08-17 Thread Ganeshji Marwaha
I don't know ur use-case, but why are u using body.click... Instead it could be very easy, intuitive and smaller to use $(#test h2).click(function() { alert(test); }); -GTG On 8/17/07, Jones [EMAIL PROTECTED] wrote: Hi, I've got a problem with event bubbling. That works fine:

[jQuery] Re: Event bubbling

2007-08-14 Thread Ganeshji Marwaha
i think u r doing it right... just that u will have to remove the attribute onclick=return false; from the button tag that is probably preventing ur event to bubble. I dont know if i am even close to answering ur question. But if i am not, can u provide more explanation on what u r trying to do

[jQuery] Re: Event Bubbling

2007-06-20 Thread Jake McGraw
Tried, return false in sayhi? - jake On 6/20/07, Christian [EMAIL PROTECTED] wrote: Hi, First off, I really like jQuery - coming from MochiKit, it is nice to have such a well put together library. So here is my question: does anyone know how to stop event bubbling in IE6? I want to bind a

[jQuery] Re: Event Bubbling

2007-06-20 Thread Christian
On Jun 20, 1:44 pm, Jake McGraw [EMAIL PROTECTED] wrote: Tried, return false in sayhi? Yep, no dice. Thanks for the suggestion though. Christian

[jQuery] Re: Event Bubbling

2007-06-20 Thread Benjamin Sterling
I just found this: http://www.quirksmode.org/js/events_order.html Down the page it has this: window.event.cancelBubble = true On 6/20/07, Benjamin Sterling [EMAIL PROTECTED] wrote: Christian, I am not a 100% on what Event Bubbling is, I searched it, but still no real idea. But I am