You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 18, 2021. It is now read-only.
Hi, Is there a way to update the select after dynamically inserting new options?
// I create a new option and insert it in the select
jQuery("#jform_user_id").append(jQuery("<option>").text(data.user.name+' '+data.user.surname).attr("value", data.user.id));
// Set the option as selected
jQuery("#jform_user_id").val(data.user.id);
// Now I should update the select with the new option, how can I do?
jQuery("#jform_user_id").bselect("updateOptions") ???
Thank you
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, Is there a way to update the select after dynamically inserting new options?
Thank you
The text was updated successfully, but these errors were encountered: