42
rated 0 times
[
49]
[
7]
/ answers: 1 / hits: 24949
/ 13 Years ago, fri, july 29, 2011, 12:00:00
I trying to animate a div and I try to use some value retreived somewhere else, I know the value to be correct because I've printed out the output... so I'm wondering why doesn't it work properly?
animateBar(percentage.toFixed(2)+'%');
[ . . . ]
function animateBar(percentage)
{
$('#innerBox').animate({width: percentage}, 3000);
}
More From » jquery