Basic setTimeout() Example
Tip: you can use the ClearTimeout() function to clear any timer values previously stored.
More setTimeout() Examples
Or in a different way:
Or as a function:
<a></a>
案例:
<a>本文轉自TBHacker部落格園部落格,原文連結:http://www.cnblogs.com/jiqing9006/p/3424215.html,如需轉載請自行聯系原作者</a>