Skip to content
Advertisement

How can I update the other select2 selectbox value based on the value of a select2 selectbox?

I tried it like this but it didn’t work. How can I do that?

  • Do not show category option unless Type is selected
  • 1 time selection for both selectboxes (without removing multiple)

JavaScript
JavaScript

Advertisement

Answer

JavaScript
JavaScript
Advertisement