Karl Swedberg-2 wrote:
> 
> Try this for the success parameter:
> 
>               success: function(html) {
>              var $html = $(html);
>              var title = $html.filter('title').text();
>              alert(title);
>               }
> 
> Basically, you have to use .filter() instead of .find();
> 
> Here's a demo page:
> 
> http://test.learningjquery.com/ajax-load.php
> 
> --Karl
> ____________
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
> 
Ok, that works fine for getting the title, but not the body. Any idea why?
Thanks!
-- 
View this message in context: 
http://www.nabble.com/Find%28%29-doesn%27t-want-to-find-anything-out-of-the-body-tp19632317s27240p19655605.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to