79383957

Date: 2025-01-24 10:19:38
Score: 1
Natty:
Report link

It doen't work with the select dropdown. So you must have at least the size 2 of your select element:

Solved with jquery

$(".selectClassName").on("click", function(){
    $(this).find("option").eq($(this).prop("selectedIndex")).remove();
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andy