jQuery animate border -


hi trying animate border of input no matter how put border doesn't seem animate.

my current code:

$(this).animate({border : '1px solid #f00'}, 'slow', 'linear');

you have set border color , style css properties in full jquery :

$(this).css({bordercolor:"#f00",borderstyle:"solid"}).animate({borderwidth : '3px'}, 'slow', 'linear'); 

you need plug-in animate border color in jquery, check : http://www.bitstorm.org/jquery/color-animation/

then..

$(this).animate({bordercolor: '#f00'}); 

maybe that's someone...


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -