Answers for "option remove from dropdown jquery by value"

5

jquery remove option from select by value

$("#FIELDID option[value='X']").remove();
Posted by: Guest on February-27-2020
0

jquery remove items from dropdownlist

<script>
$( ".dropdown" ).change(function() {
  dropdownval = $( ".dropdown" ).val();
  $(".dropdown option[value='dropdownval']").remove();
});
</script>
Posted by: Guest on June-08-2020

Code answers related to "option remove from dropdown jquery by value"

Code answers related to "Javascript"

Browse Popular Code Answers by Language