//Print in loop jQuery(".homepage-news-slider-sec .jw-slick-dots li").each(function(){ var val = jQuery(this).children('span').html(); var value = ('0' + val); jQuery(this).children('span').html(value); }); //Print in one line var gethtml =''; jQuery(".tinvwl-table-manage-list tr.wishlist_item").each(function(){ var val = jQuery(this).children('td.product-name').children('a').html(); gethtml += val; jQuery('#productIds').val(gethtml); });
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter