$.ajax({ url:"api/getWeather.asp", data:{ zipcode:97201 }, dataType:"json", success:function(data){ $("#weather-temp").html("<strong>" + data.CODE + "</strong> degrees"); } });