[development] Issues with selecting radio buttons with JQuery
Jeremy Epstein
jazepstein at gmail.com
Tue Jul 22 03:36:06 UTC 2008
Hey Dan,
On Tue, Jul 22, 2008 at 4:56 AM, Earl Miles <merlin at logrus.com> wrote:
> I would recommend setting up a #process so that you can use your own version
> of expand_radios() -- this will let you set things like the #name and #id of
> each individual radio option individually. That could allow you to much more
> easily deal with some of this oddness.
For some examples of a custom #process callback, see the D6 version of
the Category module <http://drupal.org/project/category> (currently in
Alpha). The category_menu sub-module has two custom overrides of
expand_checkboxes(), which are there to add some jQuery to each box in
a set of checkboxes (not _exactly_ the same as radios, but pretty
close).
Cheers,
Jaza.
More information about the development
mailing list