[development] JS gurus: please help me check checkboxes with a checkbox ; )

David Carrington david.carrington at gmail.com
Mon Mar 27 10:36:06 UTC 2006


On 27/03/06, Angie Byron <drupal-devel at webchick.net> wrote:
> So when I check "custom node type," the script should automatically go and check
> off hook_node_info, hook_insert, hook_update, hook_load, etc.
>
> Could someone show me a _BASIC_ example of how to do something like this, with
> just static HTML checkboxes and an onclick handler on one of them? I've had a
> really hard time trying to narrow down search terms for an example; most of the
> JS checkbox examples I've found seem to be written at the "Duh. What is a
> checkbox?" level. :\

I've put together some code (attached) that works. Let me know if you
need any more help with it :o)

--
David Carrington
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20060327/cc168833/test.html


More information about the development mailing list