jQuery “blinking highlight” effect on div?

后端 未结 15 1059
囚心锁ツ
囚心锁ツ 2020-12-04 09:24

I\'m looking for a way to do the following.

I add a

to a page, and an ajax callback returns some value. The
is fill
15条回答
  •  攒了一身酷
    2020-12-04 10:01

    Take a look at http://jqueryui.com/demos/effect/. It has an effect named pulsate that will do exactly what you want.

    $("#trigger").change(function() {$("#div_you_want_to_blink").effect("pulsate");});
    

提交回复
热议问题