Do you have a full example? .attr("checked", "checked") should work.
--John On Thu, Aug 13, 2009 at 5:00 PM, TheMit <the...@gmail.com> wrote: > > in IE7: > <code> > $('#rb').attr("checked", "checked") > </code> > does not check a radiobutton, and > <code> > $('#rb').removeAttr("checked") > </code> > does not uncheck a radiobutton. > > These code samples work fine in all the other browsers I've tried, > including IE8 and IE8 in IE7 compatibility mode. I also tried using > <code> > $('#rb').attr("checked",true); > </code> > and > </code> > <code> > $('#rb').attr("checked",false); > </code> > but these also do not work in IE7. Any help? > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---