Hi,
I have a CheckboxList on my page. I keep track of which checkboxes have been changed from their original values. When the user clicks to save, and there are some checkboxes that are now unselected where before they were selected, I need to receive confirmation from the user as their changes will have serious consequences. How can I do this? I essentially need to call the Javascript 'confirm' function and receive a return value, but I need to do this conditionally and on-demand (e.g. not on page load etc.) How can I do this?
Thx.
I have a CheckboxList on my page. I keep track of which checkboxes have been changed from their original values. When the user clicks to save, and there are some checkboxes that are now unselected where before they were selected, I need to receive confirmation from the user as their changes will have serious consequences. How can I do this? I essentially need to call the Javascript 'confirm' function and receive a return value, but I need to do this conditionally and on-demand (e.g. not on page load etc.) How can I do this?
Thx.