To determine if a checkbox is checked, i would use if( $(checkbox).is(":checked") ) { alert("checked"); }
To check a checkbox, $(checkbox).attr("checked", "checked"); Both are untested, but let me know how it goes -GTG On 8/5/07, Mitch <[EMAIL PROTECTED]> wrote: > > > How do you check and uncheck a checkbox from jQuery? > > And how do you determine if a checkbox has been checked or unchecked? > > I tried attr and css and none of them worked. > > Thanks > > Mitch > >