I am appending new data – $(‘#posts’).append(data);
But I want this new data to .slideToggle() while appending.
How can it be done?
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.
You can do it if you have a single containing element.
Let me give you an example:
Here the content is not one block, it’s three (paragraphs). If it was one block you wouldn’t need to wrap it like this.