Is there a certain way in which the fadeIn method should be used to fade in a class.
I have tried ….
$(".ipv4val").removeClass("bad").fadeIn("slow")
…. but this fails to fade the class in.
Any Ideas
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Working Demo: http://jsfiddle.net/3g6rd/1/
HTML:
<div class="ip4val bad"></div>CSS
.ip4val{width:200px; height:200px;}.bad{background:#333;}
Jquery:
———-Updates——-
If you just want to fadeout the border of input on focus, its posible with CSS3.
Working CSS fiddle:
http://jsfiddle.net/surendraVsingh/3g6rd/3