vikaskalra
Technical User
Hi,
I needed some help in identifying controls using JavaScript. Say I have a form, at runtime, depending on some selection criteria on the previous page, I generate certain number of Checkboxes, and place them all in a Form- ABC.
What I want to do is when the user Clicks on the Submit button, I want to get a list of the names of the Checkboxes the user has selected. Please note that the name of the Checkboxes are all variable. They can be anything cb_1, cb_20, sb_1, ed_30 etc.
So the output of the routine should be an alert, saying -You Checked cb_11, cb_21 etc.
Regards,
Vikas
I needed some help in identifying controls using JavaScript. Say I have a form, at runtime, depending on some selection criteria on the previous page, I generate certain number of Checkboxes, and place them all in a Form- ABC.
What I want to do is when the user Clicks on the Submit button, I want to get a list of the names of the Checkboxes the user has selected. Please note that the name of the Checkboxes are all variable. They can be anything cb_1, cb_20, sb_1, ed_30 etc.
So the output of the routine should be an alert, saying -You Checked cb_11, cb_21 etc.
Regards,
Vikas