85
rated 0 times
[
91]
[
6]
/ answers: 1 / hits: 67847
/ 11 Years ago, fri, september 13, 2013, 12:00:00
I want to deselect all values with one click without using each id
seperately.
I fiddled around for a while, but this deselect only first value. Any suggestions?
This is how I try to deselect:
$( #mybutton ).click(function() {
$(select).select2('val', '')
});
More From » jquery