posted 20 years ago
I have a check box and a multi-select list on a page.
On checking the check box, all the values in the multi-select list should be shown selected.
When the user explicitly selects one/more values in the multi-select list the checkbox should be shown unchecked.
Now, I have an onChange() event on the multi-select list. I am retrieving some values from the DB depending on the selections
made in the list.
Everything works fine if I explicitly select the values in the select list. If I click on the checkbox, the values in the list are
shown selected but the onChange event does not fire.
Following is a sample code of what I am trying to do. Any help will be greatly appreciated.
Thanks in advance
NOTE : OnClick has been changed to onClik for posting