标签:日期天气的js应用
<div class="date">
<span>
<script type="text/javascript">document.write(new Date().getFullYear()+‘年‘+(new Date().getMonth()+1)+‘月‘+new Date().getDate()+‘日‘)
</script>
</span>
<span>
<script type="text/javascript">
document.write(‘星期‘+‘日一二三四五六‘.charAt(new Date().getDay()))
</script>
</span>
<!----><iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=10" width="300" height="25" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" ></iframe>
</div>
标签:日期天气的js应用
原文地址:http://7408089.blog.51cto.com/7398089/1561010