Updating multiple select with ajax Onlinevideo sex date
In fact, I have to wait for an Ajax request to complete to populate my options array.The problem is that the options array gets populated but select options are not updated in the front-end. Using the new D7 AJAX form API stuff I'm trying to rebuild the multiselect options on the fly with AJAX.I can see that $options is indeed being changed so I know that Drupal FAPI is doing what it needs to update $form_state. I am not familiar enough with multiselect to understand if it is processing $form_state or doing anything funky with the $options. Hopefully it's not a bug and it's possible to do with multiselect...I try to add values to a select2 (multiple select) field after performing an ajax call.