Difference between revisions of "User:Areid"

From ipswichmakerspace
Jump to: navigation, search
m
m
 
Line 2: Line 2:
  
  
$('div.cart-item').each(function(i, el) { $('body').append('[' + $(el).find('.prod-name a').attr('href') + ' ' + $(el).find('.prod-name a').text() + '] ' + $(el).find('.prod-price').text() + '|||||| ');  });
+
Wilko basket exporting code
 +
 
 +
$('div.cart-item').each(function(i, el) { $('body').append(' [' + $(el).find('.prod-name a').attr('href') + ' ' + $(el).find('.prod-name a').text() + '] ' + $(el).find('.prod-price').text() + '<br><br>');  });

Latest revision as of 23:24, 7 February 2018

Error 418: I'm a teapot


Wilko basket exporting code

$('div.cart-item').each(function(i, el) { $('body').append(' [' + $(el).find('.prod-name a').attr('href') + ' ' + $(el).find('.prod-name a').text() + '] ' + $(el).find('.prod-price').text() + '

'); });