Dynamically created select input using javascript, not showing dropdown
问题 I have created a select input field with dropdown using javascript so user can add multiple entries but the javascript does not pull in the php function used to create the select dropdown values. I am unable to see why the dropdown does not work. The dropdown does work correctly if i create the input field using php. Javascript <script> var count = 0; $(document).ready(function(){ $(document).on('click', '.add', function(){ var html = ''; html += '<label for="category" class="col-sm-4 control