There isn't in HTML Specs a true value for checked attribute. Try: $("input:checkbox").attr("checked", "checked"); MaurĂcio -----Mensagem Original----- De: matt Para: jQuery (English) Enviada em: quinta-feira, 4 de junho de 2009 18:12 Assunto: [jQuery] Selectors only matching first element ... $("input:checkbox").attr("checked", true);
checks the first box only.