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

2007-11-20 Thread Wizzud
I have just run this script (changed name of called script and params)... $(document).ready(function(){ $.get("test.php", {itemId:'foo', mediaType:'bar'}, function(data){ alert("Data Loaded: " + data); $("#playlist div.scrollbox").append(data); }); }); against this HTML... re

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

2007-11-20 Thread Shawn Molloy
The HTML that is inside of the data var looks like this: (Video) 0:00 Seems like its formed all right to me. Could it be the output mode or content type of the page (its asp.net)? Thanks for taking a look. On Nov 19, 2007 8:19 AM, kef <[EMAIL PROTECTED]> wrote: > > Most

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

2007-11-19 Thread kef
Most of the problems I've personally had with .append is when my xhtml is malformed or I'm not escaping something properly. On Nov 19, 5:20 am, James Dempster <[EMAIL PROTECTED]> wrote: > append expects html data starting with a html element e.g element please check that this is the case. can yo

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

2007-11-19 Thread James Dempster
append expects html data starting with a html element e.g 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/getPlay