Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

fastselect clear select

<div id="fastSelectWrapper">
    <select class="multipleSelect" multiple name="language">
    <option value="All">Select ALL</option>
    <option value="Bangladesh">Bangladesh</option>
    <option selected value="Barbados">Barbados</option>
    <option selected value="Belarus">Belarus</option>
    <option value="Belgium">Belgium</option>
    </select>
    </div>
 <script>

  // to remove all 
 $("#fastSelectWrapper .fstChoiceRemove").click();
 </script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fastselect #clear #select
ADD COMMENT
Topic
Name
1+7 =