I have a page with several dropdownchecklists, all with checkboxes (multiple selects possible). Inside document ready, I have this simple code:
$(":checkbox").click(alert('TEST'));
The problem is that when the page first loads, the alert fires. What I want to do is only fire the alert when one of the dropdownchecklist boxes is clicked. I know I am being dull of wit here. Can someone enlighten me?
Another way to state the problem is simply "How can I activate a function when a dropdownchecklist checkbox is clicked?"
Thanks in advance.