Get count of checked checkboxes using Javascript?
Hi!
I've got a report region with the following Source:
Select APEX_ITEM.CHECKBOX(1,ROWNUM),
APEX_ITEM.HIDDEN(2,p_ID) p_ID,
LAST_NAME,
FIRST_NAME,
From EMP
Where EMP_DEPT = 'MARKETING'
Once the user has checked however many checkboxes, how do I get that count using Javascript? To grab an item's value $x('P1_ITEM').value is used, but what's the syntax for counting the number of checkboxes that are checked?
TIA!