remove item from dropdown jquery code example
Example: jquery remove option from dropdown
<script>
$( ".dropdown" ).change(function() {
dropdownval = $( ".dropdown" ).val();
$(".dropdown option[value='dropdownval']").remove();
});
</script>
<script>
$( ".dropdown" ).change(function() {
dropdownval = $( ".dropdown" ).val();
$(".dropdown option[value='dropdownval']").remove();
});
</script>