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
On change of one selectbox, the second gets populated.
The php file must contain the options of the second selectbox from the selected value of the first selectbox.
I tried this code which gets data returned from ajax but it does not work:
$("#category_id option").remove(); // Remove all child tags.
$.each(data.message, function(index, item) {
$("#category_id").append($(item) );
});
The text was updated successfully, but these errors were encountered: