I have a sequence of 3 dropdowns that modify the DOM. One depends on the other. If I select the first dropdown it modifies the DOM and the other dropdowns. The second dropdown modifies the third one in the same way. The question is how to trigger these dropdowns dynamically? I can fill in the first one.
$('select#initial option[value=' + data[0].initial + ']').attr({ selected : "selected"}).prop('disabled', false);;
But the change event that would mount the DOM from the second dropdown was not triggered.