單項選擇題
A.getDate B.getYear C.getMonth D.gerTime
A.document.write(document.location) B.document.write(document.title) C.document.write(document.body) D.document.write(document.links)
A.<language="JavaScript" src="scriptfile.js">B.<script language="JavaScript" src="scriptfile.js"></script>C.<script language="JavaScript" =scriptfile.js></script>D.< language src="scriptfile.js">
A.3 B.6 C.7 D.8
A.onClick B.onFoucs C.onMouseOver D.onChange
A.document.bgcolor=blue B.document.BgColor="blue" C.document.bgColor="blue" D.document.bgColor=blue
A.window B.document C.location D.session
A.alert(Hello World) B.prompt("Hello World","") C.document.write("Hello World") D.document.writeln("Hello World")
A.opener B.parent C.self D.top
A.<BUTTON VALUE ="鼠標響應" onClick=alert("確定")></BUTTON> B.<INPUT TYPE="BUTTON" VALUE ="鼠標響應" onClick=alert("確定")> C.<INPUT TYPE="BUTTON" VALUE ="鼠標響應" onChange=alert("確定")> D.<BUTTON VALUE ="鼠標響應" onChange=alert("確定")></BUTTON>
A.alert("您一共消費了:"+100+’元’) B.prompt("請輸入:") C.pop("error") D.confirm("繼續(xù)?")