I have a simple script, but the fadein () part is not working. Not getting any errors though ..
$('<ol/>', { 'class': 'raw-list', html: items.join('') }).appendTo('.json').fadeIn(1000); });
Try to hide it first with the following code:
$('<ol/>', { 'class': 'raw-list', html: items.join('') }) .hide() .fadeIn(1000) .appendTo('.json');
fadeIn() will do nothing if the element is already visible.
fadeIn()
First you need to hide() .
hide()