单项选择题
在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";
点击查看答案
相关考题
