(function(){ try{ var json = {"Area":"\u81fa\u5317\u5e02","Temperature":"17-21","Rain":"70","Simg":"\/\/cache.ltn.com.tw\/images\/weather\/wi_0009.png","Status":"\u9670\u9663\u96e8","uptime":""}; var data = json; $('#weather_text').html(data.Area + ' ' + data.Temperature + ' ℃'); $('#weather_img').attr('src', data.Simg); $('#weather_img').attr('alt', data.Status); console.log($('#weather_text')); }catch(e){ } })();