history从属于window,下列能访问前一页面的方法是()
A.back(-1)
B.back(1)
C.forward(1)
D.go(-1)
查看答案
关于以下两个陈述的描述中,正确的是() 陈述1:window对象的confirm方法用于显示一个包括相关信息以及Yes和No这两个按钮的对话框。 陈述2:window对象的alert方法用于弹出一个提示窗口,显示提示信息。
A.陈述1正确,陈述2错误
B.陈述1错误,陈述2正确
C.陈述1和陈述2均正确
D.陈述1和陈述2均错误
下列不是document对象的属性的是()
A.anchors
B.forms
C.location
D.image
阅读下面的JavaScript代码输出结果是()。functionf(y){varx=y*y;returnx;}for(varx=0;x<5;x++){y=f(x);document.writeln(y);}
A. 01234
B. 014916
C. 01491625
D. 以上答案都不对
Complete the following passage with key information from the text.In his 2003 speech at Rice University’s Energy & Nanotechnology Conference, the late Nobel Laureate Richard Smalley highlighted the 10 problems for the next 50 years. In his list, sits at the top, and water comes next. Now, with the price of solar power going down, the dawn of a new energy is just around the corner. As a result, is going to be the greatest challenge for humanity.But the water problem is . First, unlike coal and oil, water cannot be .Second, water is with every other sector of society. Third, while water demands are growing, climate change is intensifying droughts and floods and water supplies are .There are solutions, such as building water-transfer aqueducts, hydroelectric dams, and desalination plants. But they may be incredibly . It willfor scientists to find affordable solutions to the water problem. Before that, everyone should do his or her bit to water.