Stop bubbling events seems not work on internet explorer in google pages?

This doesn't make sense. It only sets it to true if it already evaluates to true (in a boolean context). Get rid of the if clause (i.e.

Always set it unconditionally); setting a non-existant value usally doesn't do any harm (unless you are setting it on a host object which has an ugly implementation).

If (event. CancelBubble) { event. CancelBubble = true; } This doesn't make sense.It only sets it to true if it already evaluates to true (in a boolean context).

Get rid of the if clause (i.e. Always set it unconditionally); setting a non-existant value usally doesn't do any harm (unless you are setting it on a host object which has an ugly implementation).

Agree, looks like testing for the existence of a function, but this is a property... – Lee Kowalkowski Jan 26 at 22:55 Don't get rid of it. Just unconditionally set it. It's safe to set event.

CancelBubble on all known platforms, and that's what IE uses to stop propagation. – Jason LeBrun Jan 26 at 22:56 That's what I meant – ThiefMaster Jan 26 at 23:12 Yes, you right... – NomikOS Jan 27 at 0:03 Yes, you right... thanks for the heads up. Now I am trying unconditionally but still no success.

– NomikOS Jan 27 at 0:09.

Or try setting it to false, if you use true, the event will fire the code that comes after the event has been fired, when an event has a boolean, it could sometimes mean that you have the freedom to control that event, if you say true, the event may execute other function(s). When saying false the event will not execute other functions, but that only depends on how that function. Coder made his function/code.

But in simple words "To handle or to raise the bubbled event, a control must override the OnBubbleEvent method. ", and thats where you do the opposite don't override if you did. If you havent read this yet msdn.microsoft.com/en-us/library/aa71964...).aspx and like I said do the opposite.

; ) Hope this helps you out a bit Laterss!

Thanks Johnn but we are talking in a javascript context. – NomikOS Jan 27 at 0:13.

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