【问题标题】:Make iframe not to reload at page refresh使 iframe 在页面刷新时不重新加载
【发布时间】:2010-12-24 10:04:58
【问题描述】:

有没有办法让 div 或 iframe 在页面刷新时不重新加载?

【问题讨论】:

    标签: iframe html reload


    【解决方案1】:

    正常的场景是可刷新的部分应该在 div/iframe 中。你应该遵循, 你想做什么是不可能的......

    【讨论】:

      【解决方案2】:

      把它放在你的 iframe 中以避免缓存:

      <head>
      <meta http-Equiv="Cache-Control" Content="no-cache">
      <meta http-Equiv="Pragma" Content="no-cache">
      <meta http-Equiv="Expires" Content="0">
      </head>
      

      【讨论】:

        猜你喜欢
        • 2019-06-10
        • 1970-01-01
        • 1970-01-01
        • 2023-03-31
        • 2012-10-20
        • 2013-01-31
        • 2021-10-29
        • 2012-03-06
        • 1970-01-01
        相关资源
        最近更新 更多