开发者

jQuery Stop Effects - Form Validation

开发者 https://www.devze.com 2023-03-23 17:43 出处:网络
I made a form validation script whi开发者_运维百科ch uses the jQuery UI library to pulsate the invalid fields when submitted.

I made a form validation script whi开发者_运维百科ch uses the jQuery UI library to pulsate the invalid fields when submitted.

My question is how do I stop the effects from queuing? I looked into animation queuing, however, it does not work with effects. I've tried:

$(item).stop();
$(item).stop().effect(...);
$(item).stop(true,true);

The only results I get are the effects glitches off the screen ect...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号