On Dec 2, 2010, at 1:20 PM, Brian Gallew wrote:
> Yes, I want to update on each click. I've got the form, I know I need to do
> the onChange, I'm just having a hard time trying to attach the JS to the
> checkbox. I'm still thinking about how to make this work right.
If you're using Jquery, you can attach a callback to a bunch of elements at
once thus:
jQuery('#some_form_id input:checkbox').change(function() {
// do stuff here - checkbox that changed is 'this'
});
--Matt Jones
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.