$(".subscrCheckbox:checkbox") would return all checkboxes with the class
name of 'subscrCheckbox', including those that are not checked.
$(".subscrCheckbox:checkbox[checked]") is probably the shortest selector you
could use that meets your requirements.

-Hector


On Tue, Nov 18, 2008 at 1:41 PM, donb <[EMAIL PROTECTED]> wrote:

>
> $(".subscrCheckbox:checkbox") should also work.
>
> http://docs.jquery.com/Selectors
>
>
> On Nov 18, 4:36 pm, "Hector Virgen" <[EMAIL PROTECTED]> wrote:
> > I think this should work:
> >
> > $('input.subscrCheckbox[type=checkbox][checked]');
> > -Hector
> >
> > On Tue, Nov 18, 2008 at 1:30 PM, [EMAIL PROTECTED] <
> >
> >
> >
> > [EMAIL PROTECTED]> wrote:
> >
> > > Hi,
> >
> > > How do I write a JQuery expression that will give me all the elements
> > > that are inputs of type=checkbox, that have class="subscrCheckbox" and
> > > that are checked?
> >
> > > Thanks, - Dave- Hide quoted text -
> >
> > - Show quoted text -

Reply via email to