获得世界天气预报

代码只需要:<iframe id="ifrWeather" width="158" height="270" frameBorder="0" scrolling="no" src="http://www.17u.cn/17uWeather.aspx?City=%e8%8b%8f%e5%b7%9e"></iframe>
 
就是只要把城市名编码一下传入City就行了:
ASP.NET:Server.UrlEncode("东营")
JAVASCRIPT:escape("东营")

posted on 2007-10-24 20:00  Sunlight  阅读(204)  评论(0编辑  收藏  举报

导航