Old Zhao may dislike IE6, so he made some effort in his blog. If IE6 browsed his blog, he would jump to another page. Very depressing. Do I have to install a browser when I read a blog? I am very lazy. I just want to use IE6!
Recently, I was reading jQuery. I just got into the door and found an interesting function. I started my experiment with Lao Zhao's blog.
Load the latest version of an HTML webpage.
JQuery code:
The Code is as follows:
$. Ajax ({
Url: "test.html ",
Cache: false,
Success: function (html ){
$ ("# Results"). append (html );
}
});
Use this to change the address to Lao Zhao's blog to see what the effect will be.
Create a new text file named a.htm. Copy the code in the example, modify the URL, and run it.
I saw it, haha, and so on. Why did I jump back? It seems that the js script in the blog is also running. Find the script. Isn't that OK if you have killed it.
After searching for half a day (js is poor), I finally found it.
Code
The Code is as follows:
This is the code that is in disorder. Replace "window. location ...... You can.
Code
The Code is as follows:
View Lao Zhao's blog v1.1 with IE6