How jquery can pause for a few seconds before jumping
Today there is a demand, similar to the answer, need to show the results before jumping.
This is achieved directly through settimeout.
The code is as follows:
url = ' www.baidu.com ';
SetTimeout ("Location.href = '" + URL + "'", 500);//500 milliseconds after jump
Article Source: Liujuntao's Blog
Pause a few seconds before jumping JS how to implement