Javascript调试问题 根本就错了~~~document.write("<br />今天日期为"+(today.getMonth()+1)+"/"+today.getDate()+"/"+today.getYear()+"<br />"); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <script>var today=new Date();document.write("<br />今天日期为"+(today.getMonth()+1)+"/"+today.getDate()+"/"+today.getYear()+"<br />");</script> 工具—Internet选项—高级—显示每个脚本错误的通知,打上对号 var today=new Date(); document.write(" <br> 今天日期位;",today.getMonth()+1+"/",today.getDate(),"/",today.getYear()+" <br> "); <script>var today=new Date();document.write("<br />今天日期为"+(today.getMonth()+1)+"/"+today.getDate()+"/"+today.getYear()+"<br />");</script>你可以看浏览器的左下角,如果有个感叹号的话你双击就能看见错误信息了. 变量未定义好,估计是复制时漏了var today=new Date()这一句。 参看http://topic.csdn.net/u/20071208/12/d3c9d042-3c01-4015-88b7-c83e22ab912a.html 你下个软件:Aptana可以帮你检测语法错误,还有自动提示功能,不错噢.我都用这个写JS JavaScript支付宝集成 audio重复播放的问题 求教:如何使用JS自动设置meta标签的keyword,content-----------------------------------------标题要长 【分享】魔兽技能冷却效果完美版 ff的表单操作 请教高手们一个问题啊 HideMenu函数为何会禁止选择文字呢 关于UId的问题.请指教 怎么样判断一个变量是否为字符串? 求助。。showModalDialog css 关于链接显示的问部 急!在线等!javescript的一个很奇怪的现象,困惑了好久,大家都看看
<script>
var today=new Date();
document.write("<br />今天日期为"+(today.getMonth()+1)+"/"+today.getDate()+"/"+today.getYear()+"<br />");
</script>
工具—Internet选项—高级—显示每个脚本错误的通知,打上对号
document.write(" <br> 今天日期位;",today.getMonth()+1+"/",today.getDate(),"/",today.getYear()+" <br> ");
var today=new Date();
document.write("<br />今天日期为"+(today.getMonth()+1)+"/"+today.getDate()+"/"+today.getYear()+"<br />");
</script>
你可以看浏览器的左下角,如果有个感叹号的话你双击就能看见错误信息了.
http://topic.csdn.net/u/20071208/12/d3c9d042-3c01-4015-88b7-c83e22ab912a.html
可以帮你检测语法错误,还有自动提示功能,不错噢.
我都用这个写JS