dojo query for checkboxes

Posted by mouse on Stack Overflow See other posts from Stack Overflow or by mouse
Published on 2010-05-19T07:24:47Z Indexed on 2010/05/19 7:30 UTC
Read the original article Hit count: 136

Filed under:

Hi I want to get all my checked checkboxes from a form and i do like this(and it works)

var cbs = dojo.query('input:checked', 'f');

I wand to add another selector(class selector) to get all checked checkboxes from a form with a specified class. I tried this one but it doesn't work

 var cbs = dojo.query('input:checked .xClass', 'f');

© Stack Overflow or respective owner

Related posts about dojo