jquery .text .fade workability?
Hi there,
I have a JSON array which stores data related to my music, e.g. (artist, album, song title, etc)
I then have a div on an XHTML page, which i populate, with my music data via the jquery statement .text:
-
$("#artist").text(music[indexPos].artist);
I want to add in a fade in effect, but I haven't been able to do this yet.
I originally thought to do this:
-
$("#artist").text(music[indexPos].artist).show("slow");
as well as
-
$("#artist").text(music[indexPos].artist).fadeIn(200);
but neither worked.
Could someone provide me with some insight please?