27 Mar
2006
27 Mar
'06
12:36 p.m.
On 27/03/06, Angie Byron <drupal-devel@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