【多选题】【消耗次数:1】
在JavaScript中,下列方法中相当于客户端点击F5(刷新)的是()(选择二项)
document.replace( );
document.reload( );
location.replace(location.href);
location.reload( );
参考答案:
复制
纠错
相关题目
【多选题】 在JavaScript中,下列方法中相当于客户端点击F5(刷新)的是()
①  document.replace( );
②  document.reload( );
③  location.replace(location.href);
④  location.reload( );
【单选题】 在JavaScript中,以下选项不是location对象的方法是( )。(选择一项)
①  indexOf( )
②  reload( )
③  assign(url)
④  replace(url)
【单选题】 在JavaScript中,以下选项不是location对象的方法是( )。
①  indexOf( )
②  reload( )
③  assign(url)
④  replace(url)
【单选题】 对location对象的href属性的叙述错误的是( )
①  可以获取当前路径
②  可以改变当前路径
③  可以用来刷新页面
④  是只读属性
【单选题】 以下属于location对象的方法,使用它可以实现页面重新加载的是:()(选择一项)
①  host
②  hostname
③  reload
④  replace
【单选题】 以下属于location对象的方法,使用它可以实现页面重新加载的是:()
①  host
②  hostname
③  reload
④  replace
【单选题】 下面( )不是document对象的方法。(选择一项)
①  getElementsByName( )
②  getElementById( )
③  write( )
④  reload( )
【单选题】 下面( )不是document对象的方法。(选择一项)
①  getElementsByTagName( )
②  getElementById( )
③  write( )
④  reload( )
【单选题】 在javaScript中,运行下列代码后的结果是 var d=1document.write(typcof(d));(选择一项)
①  char
②  number
③  string
④  undefined
【单选题】 使用location对象的( )方法可以实现用新URL取代当前窗口的URL。
①  load
②  onload
③  replace
④  open
随机题目
【单选题】 Julie has gained more experience than____ in her restaurant and the customers like her.
①  any waitress
②  other waitresses
③  the waitress
④  any other waitress
【单选题】 I eagerly answered all the questions, never ____ much about making mistakes.
①  worry
②  worried
③  worries
④  worrying
【单选题】 —Good morning, John. How are you doing?—____.
①  Im pleased.
②  Good night.
③  Not so bad. And you?
④  How do you do?
【单选题】 We often get ____ when people cut in line.
①  annoying
②  annoyed
③  to annoy
④  annoy
【单选题】 16. By using virtual reality programmes, it is possible to ____ deep into outer space without ever leaving Earth.
①  explore
②  find
③  escape
④  stay
【单选题】 Three-fourths of the homework ____ today.
①  has finished
②  has been finished
③  have finished
④  have been finished
【单选题】 Not until the early years of the 19th century ____ what heat is.
①  man knew
②  did man know
③  man did know
④  didn’t man know
【单选题】 The gate is too____ for a car; we’ll have to walk through. ?
①  shallow ?
②  loose ?
③  broad ?
④  narrow?
【单选题】 I’d like to ____ a single room at the holiday inn for two days.
①  serve
②  conserve
③  preserve
④  reserve
【单选题】 27. The police are anxious to interview everyone ____ last night’s incident.
①  concerning
②  B. concerned about
③  concerned in
④  concerned for