摘要:
1.jquery的$.delay()方法设置一个延时来推迟执行队列中之后的项目。这个方法不能取代JS原生的setTimeout。The.delay()methodisbestfordelayingbetweenqueuedjQueryeffects.Becauseitislimited—itdoesn't,forexample,offerawaytocancelthedelay—.delay()isnotareplacementforJavaScript'snativesetTimeoutfunction,whichmaybemoreappropriateforcertainu 阅读全文