Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery remove items from dropdownlist

<script>
$( ".dropdown" ).change(function() {
  dropdownval = $( ".dropdown" ).val();
  $(".dropdown option[value='dropdownval']").remove();
});
</script>
 
PREVIOUS NEXT
Tagged: #jquery #remove #items #dropdownlist
ADD COMMENT
Topic
Name
3+3 =