This is my part of code, I've created an object and now I want to hide all those elements in object, since I'm making the animation for the web page. How to achieve this, please help me?!
var rightPart = $('.anotherOne');
var numberOfLines = {
first : $('#caption_1'),
second : $('#caption_2'),
third : $('#caption_3')
}
for (var key in numberOfLines) {
hide(numberOfLines);
}