$.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 "my_"

____________
Virus checked by G DATA AntiVirusKit
Version: AVK 17.7901 from 19.09.2007
Virus news: www.antiviruslab.com




--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com

Reply via email to