Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getInfo() {
- var infoString = "";
- $('.carousel-item').each(function() {
- infoString += $(this).find('.card-title').html() + "%";
- infoString += $(this).find('.green-text').html() + "%";
- $(this).find('p').each(function() {
- infoString += $(this).html() + "%";
- });
- infoString += "%";
- });
- return infoString;
- }
- console.log(getInfo());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement