checkboxlist weird behavior with attribute add onclick

M

mlyons

I have a web app with a checkboxlist. I set the text and value for
this checkboxlist at design time. I have a javascript function (that
does a confirmation box) added to this checkboxlist. The checkboxlist
has 2 items. If user clicks either check box, the app works fine.
However, if user clicks the text next to either of the check box items,
then I get the javascript confirmation twice.

Has anyone else encoutered this behavior? And does anyone have any
ideas (outside of changing them to individual check boxes) on why this
might be happening and a fix?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top