Process checkbox array in javascript
813584Nov 12 2010 — edited Nov 14 2010Hello,
I'm new to Apex and Javascript. I'm using Apex 3.2.0
Here's my question: I have a tabular report with a checkbox selector. When the user clicks the Delete button I want to display an alert if the user does not select any records.
The array containing the checked boxes in the tabular report is Apex_Application.G_F30
I know I can verify the count in a pl/sql process with " if apex_application.G_F30.Count = 0 then ... "
However, I would like to do this check in javascript. The script would be called from the Delete button. If the count is zero, the alert would be "No records were selected" or something like that. if the count is greater than zero, then I submit the process to delete the records.
Your help is greately appreciated.
Regards,
Al