网站大量收购独家精品文档,联系QQ:2885784924

js各种自动刷新(JS various automatic refresh).doc

js各种自动刷新(JS various automatic refresh).doc

  1. 1、本文档共13页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
js各种自动刷新(JS various automatic refresh)

js各种自动刷新(JS various automatic refresh) JS various automatic refresh Basically, all the code required to automatically refresh the page is available, and everyone can play the perfect page. 1) 10 indicates interval 10 seconds, refresh once 2) script Window.location.reload (true); /script If you want to refresh a iframe, change the window to frames name or ID number 3) script Window.navigate (URL); /script 4 Function, ABC () { Window.location.href= /blog/window.location.href; SetTimeout (ABC ()) 10000; } Refresh this page: Response.Write (scriptwindow.location.href=window.location.href; /script) Refresh parent page: Response.Write (scriptopener.location.href=opener.location.href; /script) Go to the specified page: Response.Write (scriptwindow.location.href=yourpage.aspx; /script) Refresh page implementation summary (HTML, ASP, JS) by aloxy Timed refresh: 1, scriptsetTimeout (location.href=url, 2000) /script Explanation: URL is the page URL address to refresh 2000 is the wait time =2 seconds, 2, Explain: N, is, the, number, of, seconds, to, wait, before, loading,, the, specified, URL. URL, is, an, absolute, URL, to, be, loaded. N is the waiting time, in seconds URL is the page URL address to refresh 3, --sponse.redirect ur-- Instructions: generally use a URL parameter or form value to determine whether an operation occurs, and then use response.redirect to refresh. 4, refresh the frame page Script language=javascripttop.leftFrm.location.reload (); parent.frmTop.location.reload (); the problem of refreshing after pop-up Response.Write (scriptwindow.showModalDialog (../OA/SPCL.aspx, window,dialogHeight:, 300px; dialogWidth:, 427px; dialogTop:, 200px; dialogLeft:, 133px) /script); //open Response.Write (scriptdocument.location=document.location; /script); Add in child form page code head The contents of the refresh are added to if (... IsPostBack) Turn left on the right side of the frame page The left half page refresh / / framework Response.Write (script); Response.Wri

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档