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);
//    }
//    );

Reply via email to