No errors in console.  I assumed that defining the click event for a given 
css selector would not have an effect on the normal click behavior.

Relevant code:

var chkClicks = this.__chkClicks.bindAsEventListener(this);
this.__z__chkClicksthis = 

__chkClicks: function(e) {
var elm = e.findElement();'div.container').invoke('hide');'input[type=checkbox]').without(elm).each(function(chk) { 
chk.checked = false; });
var chk_val = elm.getValue();
var show_layer = 'div.' + chk_val + '_container';
 switch(chk_val) {
case 'athlete':
var input = $('qf_athlete').down('input');

On Saturday, November 3, 2012 11:29:14 AM UTC-7, Walter Lee Davis wrote:
> On Nov 3, 2012, at 1:51 PM, kstubs wrote: 
> > If I define an on click event for a given css selector did I disable or 
> trap the default click event?  Reason I'm asking is I have a form and I 
> have wired up a click event for a given input type like this: 
> > 
> > this.form.on('click', 'input[type=checkbox]' ,functionChkClicked); 
> > 
> > Now my radio clicks aren't working.  I can click one item in a radio 
> group but when I try to click a different item in the same group it doesn't 
> work.   
> > 
> Can you show the definition of your method functionChkClicked? Also, what 
> do your see in your browser console? You should see an error there if 
> that's why your function isn't returning. And no, an observer like this 
> will only stop the default behavior if that's what you tell it to do. 
> Otherwise, the event bubbles right on through. 
> Walter 

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to