to input a search query in my Laravel app that is rendered by a controller A.
I used Ajax to send the search query to another controller B and also returns the search data.
I used jQuery append() to append the data to the page, with a class and each data image url as idthe page.
I tried to console log the url of each image when clicked with jQuery on(click) method, but unfortunately, it's not working😒
Please, guide me. How can I do it right?
Thanks
Are you able to send the data and get back an expected response?
The data is show as it must but there is not event happening when you click any image?
Обсуждают сегодня