我有这样的代码:
$('#location').html(location);
$('#temperature').append(temperature);
$('#temperature').attr("value", temperature);
$('#weather').html(weather);
$('#summary').html(summary);
$('#hourly').html(hourly);
我想要做的描述是HTML格式的每一个字显示。像这样$('#hourly').html(hourly) + 'next 24 hours'
但是那样做的时候不会显示下24小时描述。
他的工作感谢:) –