diff --git a/pages/12.programmatic-control/02.retrieving-selections/docs.md b/pages/12.programmatic-control/02.retrieving-selections/docs.md index d0f8dd7f..41e0164c 100644 --- a/pages/12.programmatic-control/02.retrieving-selections/docs.md +++ b/pages/12.programmatic-control/02.retrieving-selections/docs.md @@ -10,7 +10,7 @@ There are two ways to programmatically access the current selection data: using ## Using the `data` method -Calling `select2('data')` will return a JavaScript array of objects representing the current selection. Each object will contain all of the properties/values that were in the source data objects passed through `processResults` and `templateResult` callbacks (as in Loading data from an array and Connecting to a remote data source). +Calling `select2('data')` will return a JavaScript array of objects representing the current selection. Each object will contain all of the properties/values that were in the source data objects passed through `processResults` and `templateResult` callbacks. ``` $('#mySelect2').select2('data'); @@ -24,17 +24,20 @@ Selected items can also be accessed via the `:selected` jQuery selector: $('#mySelect2').find(':selected'); ``` -It is possible to extend the `