Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Get count of checked checkboxes using Javascript?

73pixieGirlJul 29 2008 — edited Jul 29 2008
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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 26 2008
Added on Jul 29 2008
7 comments
2,340 views