Hi Trevor,

On Fri, Aug 20, 2010 at 12:04 AM, Trevor Carey-Smith wrote:
> This should be a simple fix. If you add an id="blah" attribute to the <input> 
> tag and then surround the text with <label> tags with the for="blah" 
> attribute. ie:


The fix is not *conceptually* *difficult*, but it is less trivial than
you suggest. Your change would not work. Sure, the radio button would
be selected, but it would not emit the "on-click" event that makes the
JavaScript work. The obvious solution is to capture the "on-change"
event instead, but at the time I wrote I was busy and I didn't have
the time to look into this or whether it would be easier to just bind
the labels directly to the on-click event.

Daniel.
-- 
Intolerant people should be shot.

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to