I am in trouble to insert incremented value with each function Here is the code
var rfi = 250;
$('.animate_rfi').each(function() {
$(this).appear(function() {
$(this).delay(rfi).animate({
opacity : 1,
right : "0px"
}, 1500);
});
rfi += 50;
});
I want to increase value for delay(rfi) in each time each() executes. How can I get this.