append expects html data starting with a html element e.g <div or an
element please check that this is the case. can you provide an example
of what data contains?

On Nov 18, 8:31 pm, Shawn <[EMAIL PROTECTED]> wrote:
> 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

Reply via email to