[jQuery] search through ajax object

[jQuery] search through ajax object


Hi,
if I use $.ajax() to fetch a file. Would it be possible to search throught
that file for a certain element and use that?
like
        $.ajax({
         url: "getthis.html",
            success: function(html){
         var mynewdiv = lookformydiv("#mydiv") in html //this is what i
want to do
$("#content").append(#mynewdiv);
        }
it would a great help
--
View this message in context: http://www.nabble.com/search-through-ajax-object-tf4664208s27240.html#a13324017
Sent from the jQuery General Discussion mailing list archive at Nabble.com.















    • Topic Participants

    • rb