Getting a "too much recursion" error when attempting to programmatically uncheck all checkboxes in a treeview. Using this code:
Nothing fancy, or so I thought.
Thoughts, anyone?
$(
"#tree-item li span"
).siblings(
"span"
).find(
":checkbox"
).each(
function
() {
$(
this
).prop(
"checked"
,
false
);
$(
this
).change();
});
Nothing fancy, or so I thought.
Thoughts, anyone?