Thanks.  That did the trick.

I actually spent at least a couple of hours on this.  <embarrassed to
say>
I looked and looked for examples and thought I tried every conceivable
example.

Thanks again,
gBerger

On Aug 30, 1:18 pm, Charlie Griefer <charlie.grie...@gmail.com> wrote:
> #3 errors because as of jQuery 1.3, the use of the "@" symbol is deprecated.
>
> $('input[id$="ckKyW"]') <-- all input elements with an id attribute that
> ENDS WITH 'ckKyW'
>
> see the "Attribute Filters" section ofhttp://docs.jquery.com/Selectors
>
>
>
> On Sun, Aug 30, 2009 at 7:31 AM, gBerger <crapper_m...@att.net> wrote:
>
> > I am an extreme beginner so sorry for the basic question.
>
> > I have a number of checkboxes on the screen that contain
> > an "ID" with the characters "ckKyW" in it.
> > Checkbox Examples:
> >  whatever_ckKyW34
> >  whatnow_ckKyW67
> >  whoops_ckKyW23
>
> > I have tried every combination that I could think of
> > (a few of them are below) but I am not able to retrieve
> > only these checkboxes.  #1 below retrieves ALL checkboxes
> > but I know there is a way to retrieve only the ones I need.
>
> > Can some help me please.
>
> > Thanks,
> > gBerger
>
> > #1
> > This works [ and I was proud of myself for getting this far :)  ]
> > //    var sChkBoxes = $("form :checkbox").each(function()
> > //    {
> > //        alert(this.id);
> > //    }
> > //    );
>
> > #2
> > // NO ERROR JUST DOESNT RETURN ANYTHING
> > //    var s3 = "";
> > //    $("form :checkbox").find("a...@id*='ckKyW']").each(function()
> > //    {
> > //        alert(this.id);
> > //    }
> > //    );
>
> > #3
> > // ERRORS
> > //    $("[...@id*='ckKyW']").each(function() {
> > //        alert(this.id);
> > //    }
> > //    );
> > //    $("a...@id*='ckKyW']").each(function() {
> > //        alert(this.id);
> > //    }
> > //    );
>
> --
> I have failed as much as I have succeeded. But I love my life. I love my
> wife. And I wish you my kind of success.

Reply via email to