嗨,我有這樣的jQuery的Ajax代碼如何插入此警報信息到一個div
<script type="text/javascript">
jQuery(document).ready(function($) {
$.ajax({
url: "http://api.wunderground.com/api/10ea0e643a3d7699/geolookup/conditions/q/IA/Cedar_Rapids.json",
dataType: "jsonp",
success: function(parsed_json) {
var location = parsed_json['location']['city'];
var temp_f = parsed_json['current_observation']['temp_f'];
alert("Current temperature in "+location+" is: " + temp_f);
}
});
});
</script>
,我想顯示警告的一樣
<div id="meteo"></div>