单项选择题
在JavaScript中,改变当前网页网址为http://www.yahoo.com的语句是()。
A.window.location.href=’http://www.yahoo.com";
B.window.address.href=“http://www.yahoo.com”
C.window.address=’http://www.yahoo.com”;
D.window.href.="http://www.yahoo.com";
点击查看答案
相关考题
-
单项选择题
在JavaScript中,改变当前网页网址为下一页的语句是()。
A.window.location.reload();
B.window.history.go(1);
C.window.history.back();
D.以上都不可以 -
多项选择题
在JavaScript中,改变当前网页网址为上一页的语句有()。
A.window.location.reload();
B.window.history..go(1);
C.window.history.back();
D.以上都可以 -
单项选择题
在HTML文档对象模型中,history对象的()用于加载历史列表中的下一个URL页面。
A.net()
B.back()
C.go(-1)
D.forword()
