Thats what I am trying to do, filter our everything other then the first paragraph from the results I get through jQuery.get...
I tried your code Sean but it too did not help. I am just wondering now what is the code if I want to select/extract first paragraph from the ajax get function and inject it into some div. I guess it should be something that many people would have done in their aplications but I am not able to find the way to do it. Please don't abandon this thread guys. I need more help. thanks On Apr 20, 12:38 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote: > > jQuery(item_content).filter("#contentpane .contentpane > p, :first"); > > Filter removes those items from your search. Perhaps you want to use > find instead. Try the following code: > > jQuery.get(item_link,function(item_content){ > var new_content =jQuery("#contentpane .contentpane > > p",item_content).html(); > jQuery("#myContent").html(new_content).slideDown("slow"); > > }); > > ~Sean