/ Published in: JavaScript
Paste code in Google Chrome Console
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
d = []; $('body').append('<table id="kuku"></table>'); $('li.service').each(function() { line = { type: ($(this).attr('data-description').match('<div>(.*)</div>'))[1], //href: $(this).find('a').attr('href'), name: $(this).find('a p').text(), desc: $(this).attr('data-description') }; d.push(line); $('#kuku').append('<tr><td>'+line.name+'</td><td>'+line.type+'</td><td>'+line.desc+'</td></tr>') });
URL: https://zapier.com/zapbook/