I have three drop down lists, one list is populated on page load and doesn\'t change. The 2nd and 3rd lists may change depending on the selection. This functionality is wo
In my Ajax successCallBack I am trying to manipulate drop down list having id as reasonCode based on dynamicId (value get from server) as below:
$('#reasonCode option[value='+dynamicId+']').prop('selected', true);
but unfortunately this had not worked until I added another line after this as below:
$('#reasonCode').selectpicker('refresh');