Dynamic Dropdown using semantic ui
问题 Got a problem with semantic-ui dropdown. I've been using Semantic-Ui, and wanted to change the dropdown item dynamically. That is, when i choose the value from the first dropdown, the second dropdown's item is not getting reflected. Here is the code snippet: $(document).ready(function() { $("#programmetype").dropdown({ onChange: function() { $('#servicetype').html( '<div class="ui selection dropdown select- language ">'+'<div class=" text ">Choose..</div>'+'<i class=" dropdown icon "></i>'+'