This should do it...

$("input:checkbox:not(#myid)").attr("checked",false);

-- Josh


----- Original Message ----- From: "Brad" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Wednesday, September 03, 2008 11:57 AM
Subject: [jQuery] Not selector help



I'm looking for the quickest way to uncheck all of the checkboxes on a
page except for one with a given idea. I realize I could uncheck all,
then check one, but I'm curious if I can leverage not: to accomplish
what I want to do?

Reply via email to