Using .Net, I need to generate a response based on only the checkboxes on my form that have had there states changed. So how do I know if the check box has changed from its previous value before submission. I can’t use the onchange event because the user may check multiple boxes before submitting.
Share
If you compare the previous values with the current values and they are not the same, then they have changed.
So save the previous state into an object, and compare that object with the current state. (recording the changes made gets more complicated as if you change something twice you’d not submit it as a change)