Hi,

New to JQuery, got some questions:

 $.ajax({ url: "MyPage",
                    success: function(msg){
                        $(msg).appendTo('body');
                    }
msg is a html page, and it works, now I try to get only the 'h1'
elements by doing this:

  $(msg).find('h1').appendTo('body');

and I see nothing, the javascript console in Safari says:

Value undefined (result of expression ret[i].getElementsByTagName) is
not object.

Any hint on this? Thanks.

Reply via email to