Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select multiple>
- <option>1</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- </select>
- $('select').select2();
- $('select').change(function(){
- $("select").val([]); // clear selected value
- });
Add Comment
Please, Sign In to add comment