wow!!! What a builtfull code :)) Worked perfectly
Thanks a lot, Wizzud Hope I get that advanced in jquery soon []s Feijó On Oct 26, 9:04 pm, Wizzud <[EMAIL PROTECTED]> wrote: > OK, so they're actually children of the grandparents (aunts/ > uncles?)... > > var checkBoxes = $('.form-checkbox').click(function(e, triggered){ > $(this).parent().siblings('input:radio')[0].disabled = > triggered ? this.checked : !this.checked; > }); > $('#toggle').click(function(){ checkBoxes.trigger('click', > [true]); }); > $('#all').click(function() > { checkBoxes.not(':checked').trigger('click', [true]); }); > $('#none').click(function() > { checkBoxes.filter(':checked').trigger('click', [true]); }); > > On Oct 26, 7:01 pm, Feijó <[EMAIL PROTECTED]> wrote: > > > Ops, sorry > > > I add this jquery to dynamicaly insert the radio > > > $(document).ready(function() { > > $('.form-checkbox').parent().parent().prepend(' <input type=radio > > name=radio class=radio disabled> '); > > > }); >