Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $('.js-example-basic-single').select2({
- templateResult: formatDestination,
- placeholder: placeholderDestination,
- width: '100%'
- });
- $('.js-example-basic-single-title').select2({
- templateResult: formatDestination,
- placeholder: yourTitle,
- width: '100%'
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement