I'm displaying an asp.net checkbox list in a jquery dialog box. the user will be able to select/unselect items and either hit OK, Cancel, or just close the jquery dialog. When the user closes the dialog, i want to undo the changes and restore default settings on client side.
I was thinking of doing someting like this - OnInit or something then javascript to store default values in array. when the jquery dialog is cancelled, unselect all and select default values array.
i can do the 2nd part of this. but i dont know how to store default values in array.
pls help!