[jQuery] .append() is not inserting data into my div

[jQuery] .append() is not inserting data into my div


Hello, this code doesn't seem to insert or append any HTML when I call
it,
but it does insert the HTML when I use the HTML() function.
*
This does not work.*
function queue(itemId, mediaType) {
$.get("ajax/getPlaylistItem.aspx", {itemId: itemId, mediaType:
mediaType}, function(data){
alert("Data Loaded: " + data);$("#playlist
div.scrollbox").append(data);
});
}
*
This works!*
function queue(itemId, mediaType) {
$.get("ajax/getPlaylistItem.aspx", {itemId: itemId, mediaType:
mediaType}, function(data){
alert("Data Loaded: " + data);$("#playlist
div.scrollbox").html(data);
// append() doesnt work!
});
}
I've also tried a couple other methods of inserting data, but they
didn't
respond either.
Thanks,
-- shawn