I want to save an array of checkBox Lists to local storage but JSON stringify can't handle "cyclical structures". I can always just loop through the Lists and grab the getCheck states, but I was hoping to have a simpler method. Any workarounds? [Not that the looping method is a big deal!]
That is right... you can't JSON stringify a js object - if you log the object and start to open up the prototypes, etc. then you can see why - they go on forever.
You could try ZIMON but probably the better way would be to use bind() although I can't remember if I have ever tried bind() with checkboxes. Are these a ZIM List with checkboxes?
Of course, saving the data would be the basic way.
You can have an extra field like id. And you can loop back to that id inside the JSON.