我一生都无法弄清楚为什么这不起作用?
<div class="clouds">
</div>
<div class="station">
</div>
<script type="text/javascript">
$.getJSON("http://api.geonames.org/findNearByWeatherJSON?lat=53.36652&lng=-2.29855&username=jolones&callback=?",
function(data){
var clouds = data.weatherObservation.clouds;
var station = data.weatherObservation.stationName;
jQuery.(".clouds").html(clouds);
jQuery.(".station").html(station);
});
非常感谢