So i have a script which outputs me answers in different lines like this:
111.111
111
111.111
111
And i want that output would look like this:
111.111:111
111.111:111
Its just putting every second line back and adding a : between them. I believe i need to change this part of my code:
$('#table, td').each(function(index,element) {
if(index%8==1 || index%8==2){
console.log($(this).text());
}
});