user3845254
user3845254

Reputation: 61

Alloy user interface (selector)

I'm working with lifaray portal 6.2. And I want to get all checked checkboxes inside of a with alloy user interface. I tried A.one('#myDiv>:checkbox:checked') but it didn't work. please help.

Upvotes: 1

Views: 105

Answers (1)

Kushal Jayswal
Kushal Jayswal

Reputation: 933

Try this: A.all('#myDiv input:checked') and if you want to check length try with: A.all('#myDiv input:checked').size();.

Upvotes: 3

Related Questions