Closed antonang closed 7 years ago
It looks like the selected items have a selected
class. So you can use something like $('.selected').each(function(){ this.click() })
.
Easiest way would be to update the select element then sync the picker with the select $("select").data('picker').sync_picker_with_select();
I will like to set up a checkbox , which when checked, would clear all the image selections (reset their values as well as clearing the blue borders around each selected image).
How do I achieve this? What is the function to call?
Thank you very much.