I\'m using jQuery select2 multi select dropdown. I need to select all options in a dropdown from code. Basically there is a Select All checkbox on which this functionality h
Change
$result.data('data');
to
Utils.GetData($result.get(0),'data')