Eric Garside wrote: > $('input[name="' + obj.name + '"]').attr('checked', false); <snip>
And if the same page contains INPUT elements with the same name either inside another form or outside of any form? It seems like a good idea to use - obj.form - to restrict the context of the search, and even if not necessary with the mark-up actually being used the restricted search should still be quicker.