I dont know if this is possible because I'm pretty new to JSON and jQuery. These are my two scripts:
$.getJSON('http://shop.com/test/?format=json', function(data){
$.each(data.textpage, function(index, text){
$('<div></div>').html('' + text + '').appendTo('.verzendkosten');
});
});
and
$.getJSON('http://shop.com/vraag/?format=json', function(data){
$.each(data.textpage, function(index, text){
$('<div></div>').html('' + text + '').appendTo('.eigenschappen');
});
});
Is it possible to combine these two? Both scripts work but I'm curious how or if these can be combined.