Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #7215

Re: JS - prevent keypress bubbling to child with listener on parent?

From Antony Scriven <adscriven@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: JS - prevent keypress bubbling to child with listener on parent?
Date 2011-10-11 18:19 -0700
Organization http://groups.google.com
Message-ID <99d4f72f-7144-4be4-90fd-636b6be8b818@db5g2000vbb.googlegroups.com> (permalink)
References <6600787.2401.1318352909679.JavaMail.geo-discussion-forums@yqar15> <1378357.U43GxOFACv@PointedEars.de> <GdednWrATZzLSQnTnZ2dnUVZ_gGdnZ2d@westnet.com.au>

Show all headers | View raw


On Oct 12, 12:42 am, Andrew Poulos wrote:

 > On 12/10/2011 4:48 AM, Thomas 'PointedEars' Lahn wrote:
 >
 > > cron wrote:
 >
 > > > Is there any way to prevent bubbling to the child div
 > > > in the setup below?
 >
 > > (Don't ask Yes-or-No questions unless you want
 > > a Yes-or-No answer.)
 >
 > Of course no one could possibly suspect that the OP would
 > what to know how if the answer was "yes".

Well, I thought the following paragraph did usefully answer
the question.

 > > No, as it does not happen in the first place.  Event
 > > bubbling is the second phase of event propagation in
 > > which events are propagated to a target's ancestors
 > > (*upwards* in the document tree, hence *bubbling*).
 >
 > > Please
 >
 > > - Fix your posting agent.  Lines should not exceed 78
 > >   characters when displayed as they are.
 >
 > The post displays just fine in my Thunderbird.

Cool. I still think the OP should properly wrap long lines
though.

 > > - Get a real name.  This is Usenet, not some Web forum.
 >
 > Its as real as PointedEars.

Right, but 'Thomas Lahn' looks pretty real to me. Which is
all rather beside the point.

 > > - RTFM.
 >
 > > <http://www.catb.org/~esr/faqs/smart-questions.html>
 > > (observe the key word, > > FAQ, in there)
 >
 > And for you PE
 > <http://www.catb.org/~esr/faqs/smart-questions.html#id479916>

http://www.catb.org/~esr/faqs/smart-questions.html#answers

I don't think there's much wrong with Thomas's tone *in this
instance* :-). On the other hand there's plenty of useful
advice for the OP and little to criticise if you're going to
use 'How To Ask Questions The Smart Way' as your reference
for Usenet etiquette. --Antony

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

JS - prevent keypress bubbling to child with listener on parent? cron <cronoklee@hotmail.com> - 2011-10-11 10:08 -0700
  Re: JS - prevent keypress bubbling to child with listener on parent? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-11 19:48 +0200
    Re: JS - prevent keypress bubbling to child with listener on parent? Andrew Poulos <ap_prog@hotmail.com> - 2011-10-12 10:42 +1100
      Re: JS - prevent keypress bubbling to child with listener on parent? Antony Scriven <adscriven@gmail.com> - 2011-10-11 18:19 -0700
        Re: JS - prevent keypress bubbling to child with listener on parent? Andrew Poulos <ap_prog@hotmail.com> - 2011-10-12 13:22 +1100
    Re: JS - prevent keypress bubbling to child with listener on parent? John G Harris <john@nospam.demon.co.uk> - 2011-10-12 15:58 +0100
      Re: JS - prevent keypress bubbling to child with listener on parent? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-12 21:31 +0200
        Re: JS - prevent keypress bubbling to child with listener on parent? John G Harris <john@nospam.demon.co.uk> - 2011-10-13 11:30 +0100
          Re: JS - prevent keypress bubbling to child with listener on parent? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-10-13 20:34 +0200

csiph-web