Here is a piece of jquery code from my html page\[code\]$.ajax({ url: 'userlist.php', type: 'post', data: 'id='+extr, success: function(results){ $("#uservidshow").text("Page Title: "+$(results).find("vidlist").attr("title")); //$("#uservidshow").text(results); $(results).find("vids").each(function(){ $("#uservidshow").append("<br/><br/>Video Name: "+$(this).attr("vtitle")+"<br/>Link: "+$(this).attr("link")+"<br/>Description: "+$(this).find("descr").text()+"<br/><br/>"); }); } }); \[/code\]--- Here is the output that gets displayed in div#uservidshow --- \[quote\] Page Title: undefined Video Name: Kids video Link: http://www.youtube.com/watch?v=PIchX1LX0 Description:\[/quote\]My question is:
- Why do I get 'undefined' page title?
- Why do i get a blank under the description?