I get an error when I try this so was wondering if there is actually a way to do this or do I just have to go with;
$(this).css('color', 'red');
$(this).fadeIn();
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.
Yes.You can chain.
Pass the second parameter as the value of the CSS property to set it.
But, Make sure you are having a jQuery object in $(this). How are you getting this object ? On an event of an element ( which is hidden )?
Example :
Worksing sample : http://jsfiddle.net/mak3G/1/