I want to use a select2 to search dynamically from database, so I should use ajax. Please help me, how can I add a photo to option, when i want to search dynamically and I have a photo's path in database. Dynamically search is simple without a photo, but how can I add a photo next to the text. Thanks for help :)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire