I have 4 div items on my page, I'm trying to get the inner html of these items to fade out randomly, take a row from an array and fade that in - in its place, does this make sense?
// My items that I would like to repopulate the faded out info
var testimonialsArray = [
"<div class='change'><h1>Box 5</h1><p>Lorem ipsum</p></div>",
"<div class='change'><h1>Box 6</h1><p>Lorem ipsum</p></div>",
"<div class='change'><h1>Box 7</h1><p>Lorem ipsum</p></div>",
"<div class='change'><h1>Box 8</h1><p>Lorem ipsum</p></div>",
"<div class='change'><h1>Box 9</h1><p>Lorem ipsum</p></div>"
];
// Find a random div and fade it out
var order = Math.floor((Math.random()* $('.change').length )+1);
$('.box').eq(order).find('.change').fadeOut();
.......Fade in new data from an array row