摘要:
eclipse出现不编译工程的现象。怎么刷新classes目录下也是空的.
具体都操作了:
打开project->build automatically 试后不行,还是不编译.
打开project --> build automatically 另外 clean一下就可能会编译了,结果还不行.
eclipse默认是选自动编译。即使取消自动编译,手动build工程,也不能编译。 阅读全文
摘要:
1.document.write(""); 输出语句
2.JS中的注释为//
3.传统的HTML文档顺序是:document->html->(head,body)
4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)
5.得到表单中元素的名称和值:document.getElementById("表单中元素的ID号").name(或value)
6.一个小写转大写的JS: document.getElementById("output").value = document.getElementB
yId("input").value.toUpperCase();
7.JS中的值类型:String,Number,Boolean,Null,Object,Function
8.JS中的字符型转换成数值型:parseInt(),parseFloat()
9.JS中 阅读全文