[Proto-Scripty] Re: Prototype Radio Box Question

2009-03-30 Thread simon.murgatr...@googlemail.com
That’s the only way I’ve been able to make it work too, but then it leaves me the problem of unselecting the radio boxes manually, a task made harder because it’s no longer an array. The only way I’ve been able to make this work the way I wanted was to use an old style onclick event which doesn’t

[Proto-Scripty] Re: Prototype Radio Box Question

2009-03-30 Thread simon.murgatr...@googlemail.com
){         elm.checked = false;         if (foo == bar) elm.checked = 'checked'; }); Walter On Mar 30, 2009, at 9:17 AM, simon.murgatr...@googlemail.com wrote: That’s the only way I’ve been able to make it work too, but then it leaves me the problem of unselecting the radio boxes manually

[Proto-Scripty] Re: Prototype Radio Box Question

2009-03-30 Thread simon.murgatr...@googlemail.com
Thats an idea - use a class as the selector. Maybe I can get that working generically, I will give it a try. On Mar 30, 2:34 pm, Chris Sansom ch...@highway57.co.uk wrote: At 04:20 -0700 30/3/09, simon.murgatr...@googlemail.com wrote: The problem is it only registers the call back

[Proto-Scripty] Re: Prototype Radio Box Question

2009-03-30 Thread simon.murgatr...@googlemail.com
in your form. $('theFieldsetId')... $('theListItemId')... $(''theParagraphId')... $('theLabelId')... (this one is even semantically correct!) Any of these will work, adapted to the structure of your form. Walter On Mar 30, 2009, at 9:57 AM, simon.murgatr...@googlemail.com wrote: I didn’t