(”"); 输出语句
//
:document->html->(head,body)
:window->(navigator,screen,history,location,document)
:(”表单中元素的ID号”).name(或value)
: (”output”).value = (”input”).();
:String,Number,Boolean,Null,Object,Function
:parseInt(),parseFloat()
:(""+变量)
:(length)
+号.
:==等于,!=不等于,>,>=,<.<=
:var来进行声明
:if(condition){}else{}
:for([initial eXPression];[condition];[upadte expression]) {inside loop}
:break
:function functionName([parameter],...){statement[s]}
[0],[1]来代替.
:(), 关闭一个窗口:(), 窗口本身:self
:="字符";
:("字符");
:();
:();
:="URL"
:
:();
:+=
:(),()
:()
:
var form = [0]
for (var i = 0; i
if ([i].type == "text"){
[i].value = "";
}
}
3
Javascript经典小技巧总结 来自淘豆网m.daumloan.com转载请标明出处.