Real quick email, but you need a dom object, not the text...

-js


On 8/9/06, Chris Frohoff <[EMAIL PROTECTED] > wrote:
I am trying to work with results from a .get() call, but once the "xml" parameter is wrapped with "$()", it seems to refer to the current document instead of the document retrieved by .get().

alert(ajaxUrl);
$.get(ajaxUrl,function(xml){
                alert(xml);
                alert($(xml).html());            
});

the first alert displays the source from the retrieved document while the second one displays the source from the current document.

Any suggestions would be immensely helpful.  I am using the Stable May 12th build.

-Chris Frohoff


Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to