[Proto-Scripty] Event On click behavior with selector

2012-11-03 Thread kstubs
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

Re: [Proto-Scripty] Event On click behavior with selector

2012-11-03 Thread fntzr
try 'change' event. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to

Re: [Proto-Scripty] Event On click behavior with selector

2012-11-03 Thread kstubs
@mikhail, please elaborate On Saturday, November 3, 2012 11:06:48 AM UTC-7, mikhail wrote: try 'change' event. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit

Re: [Proto-Scripty] Event On click behavior with selector

2012-11-03 Thread Walter Lee Davis
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',

Re: [Proto-Scripty] Event On click behavior with selector

2012-11-03 Thread kstubs
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 =