zoukankan      html  css  js  c++  java
  • 常用的windowd属性和对象

    window.location.href=""          指向一个定向的url并提交数据过去

    window.location.reload()         强制刷新当前页面

    window.location.replace()        重新加载生成一次当前页面,也可以携程location.replace(location.href)

    window.open()                      开启一个新的页面

    window.alert()                      弹出警告框

    window.close()                     关闭浏览器

    window.confirm()                 显示一个带有确认及取消按钮的对话框

    window.prompt()                 显示一个提示用户输入的对话框

    window.setInterval()             设置规定时间循环

    window.setTimeOut()             设置延迟规定时间

    window.clearInterval()              清除循环设置

    window.clearTimeOut()              清除延迟设置

  • 相关阅读:
    debian修改crontab默认编辑器为vim
    正确用DD测试磁盘读写速度
    西数WD2T硬盘分区对齐的方法
    优化UITableView
    登录功能验证处理
    登录注册界面
    navigationbar
    tab bar controller
    ios之coretext
    ios之coredata
  • 原文地址:https://www.cnblogs.com/feitianshaoxai/p/5856837.html
Copyright © 2011-2022 走看看