I’m having some troubles selecting only one, inside an .each-function.
So far i’ve been able to look through the xml and it gives me #36 rows, but now I only wan’t to append one of the 36 rows. I’ve tried with [1] inside the “temp”-var but it only gives me the first letter on each row.
$(xml).find('temperature').each(function(i)
{ //alert(i);
var temp = $(this).attr('value');
$("<p></p>").html(temp).appendTo("#tempDiv"); });