简体   繁体   中英

Stop refresh when Pop up opens

In my asp.net application, page is refreshing specific time using Response.AddHeader("Refresh","30") , but if i open pop up(window.open) case also Page is refreshing then pop up closing. How to stop the refresh in parent page when Popup opens.

I tried with another code.Added below code in window,onload event.

setTimeout(function(){window.location.reload()},30000)

How to increase refresh time when we open popup(window.open).

Thanks.

您需要使用页面底部的以下代码。

setTimeout(function(){window.location.reload()},30000)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM