$("[EMAIL PROTECTED]'checkbox'[EMAIL PROTECTED]'my_']") will give all
checkboxes object
notebook2 wrote:
>
>
>
> Hello,
>
> is it possible in prototype to get all checkboxes on a page with a fixed
> id namepart like this:
>
> ID="my_checkbox"
>
> and i want to get all checkboxes begi
if you know the 'my_' is always at the start of the id this might be a bit
faster
$("input[id^='my_']:checkbox")
Glen Lipka wrote:
>
> Try $("input[id*='my_']:checkbox")
> I havent tested this, but it should work.
>
> Glen
>
> On 9/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>>
>
On Sep 19, 4:37 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> is it possible in prototype to get all checkboxes on a page with a fixed
> id namepart like this:
>
> ID="my_checkbox"
>
> and i want to get all checkboxes beginning on "my_"
I'm having a similar issue. I used:
$.grep(
$('[EMAIL PROTECTED]"checkbox"]'),
function(e) { return e.id.substr(0,3)=='my_'}
);
[EMAIL PROTECTED] wrote:
Hello,
is it possible in prototype to get all checkboxes on a page with a fixed
id namepart like this:
ID="my_checkbox"
and i want to get all checkboxes beginning on "m
Try $("input[id*='my_']:checkbox")
I havent tested this, but it should work.
Glen
On 9/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> Hello,
>
> is it possible in prototype to get all checkboxes on a page with a fixed
> id namepart like this:
>
> ID="my_checkbox"
>
> and i want to ge
5 matches
Mail list logo