how do i loop through elements created in jquery to get their text value?

You haven’t added the lead class to any of the elements you’ve added to the DOM inside your ready callback function.

So when you try to console log the text of elements with the lead class, there aren’t any.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top