简体   繁体   中英

Reload page once after it's fully loaded with jquery

I would like that page is reloaded ONLY once, with jquery, but only if on page is specific form with unique ID, is that possible even?

Thanks!

It can be done:

  1. Add a script to the $(document).ready to check for your form / "magic" ID
  2. If the condition is true check if document.referrer isn't yourself
  3. If so, reload.

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