{"action":"opened","issue":{"url":"https://api.github.com/repos/select2/select2/issues/2929","labels_url":"https://api.github.com/repos/select2/select2/issues/2929/labels{/name}","comments_url":"https://api.github.com/repos/select2/select2/issues/2929/comments","events_url":"https://api.github.com/repos/select2/select2/issues/2929/events","html_url":"https://github.com/select2/select2/issues/2929","id":54538824,"number":2929,"title":"How can i get all values of select2 from jquery? ","user":{"login":"RGTimothy","id":3026828,"avatar_url":"https://avatars.githubusercontent.com/u/3026828?v=3","gravatar_id":"","url":"https://api.github.com/users/RGTimothy","html_url":"https://github.com/RGTimothy","followers_url":"https://api.github.com/users/RGTimothy/followers","following_url":"https://api.github.com/users/RGTimothy/following{/other_user}","gists_url":"https://api.github.com/users/RGTimothy/gists{/gist_id}","starred_url":"https://api.github.com/users/RGTimothy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RGTimothy/subscriptions","organizations_url":"https://api.github.com/users/RGTimothy/orgs","repos_url":"https://api.github.com/users/RGTimothy/repos","events_url":"https://api.github.com/users/RGTimothy/events{/privacy}","received_events_url":"https://api.github.com/users/RGTimothy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-16T04:30:02Z","updated_at":"2015-01-16T04:30:02Z","closed_at":null,"body":"This is my code using select2 Yii2\r\n\r\necho Select2::widget([\r\n        'model' => $model,\r\n        'attribute' => 'state',\r\n        'data' => $data,\r\n        'options' => [\r\n            'placeholder' => 'Select a state ...',\r\n            'multiple'=>true,\r\n        ],\r\n    ]);\r\n\r\nThen how can i get all of its values from jquery ($(id/class?).....;)?\r\nThank you."}}