Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select id="example" style="width: 200px">
- <option></option>
- <option >Joe blogs (joe.blogs@gmail.com) </option>
- <option >AUserWithAVeryLongName AUserWithAVeryLongName (a.user.with.a.very.long.name@gmail.com)</option>
- </select>
- $('#example').select2({
- placeholder: 'Select'
- });
- AUserWithAVeryLongName AUserWithAVeryLongName (a.user.with.a.very.long.name@gmail.com)
Add Comment
Please, Sign In to add comment