The webpage contains iframe. after js changes location. href, the progress bar keeps loading. How to solve
Source: Internet
Author: User
The webpage contains iframe. after js changes location. href, the progress bar keeps loading. A.htm & lt; iframename = win1width = 100 height = 100 & gt; & lt;/iframe & gt; & lt; script & gt; win1.location. the href webpage contains iframe, and js changes location. the progress bar is always loaded after href.
A.htm
Script
Win1.location. href = "abc. php"
Script
Result a.htm is always loaded. The actual program is running.
And it's okay to run abc. php directly.
------ Solution --------------------
You must have a problem. I just tried it. it's okay. after running, the progress bar shows that it has been completed (I used IE7 ), it may be your abc. php has a judgment statement or something? Paste abc. php to see it.
------ Solution --------------------
Follow up ..
Sometimes I will also encounter this situation, but I will always be ready later.
I don't know why !~
------ Solution --------------------
Currently, browsers are not very friendly to iframe, so try to use iframe as few as possible.
------ Solution --------------------
Program problems!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.