[jQuery] Some questions...

[jQuery] Some questions...

Hi!

First of all, congratulations for this impressive library, i'm just planning
to implement it at some projects i'm involved.

I have a couple of questions about it:

1- How can i access the content of an element returned by $() function? For
instance, i want to know, using AJAX plugin, if a request was ok or not:

$('#upload_results').load("ajax_process.php?param=value");
if ( "OK" == $('#upload_results').innerHTML ) {
alert ( "Done" );
{
else
{
alert ( "In process" );
}

(this doesn't work)

2- In the same way... how can I access values in XML DOM in a XMLHttpRequest
response? I tried the example in the blog discussion from John Resig
(http://jquery.com/blog/2006/01/24/jquery-blog/) , but it doesn't work. Any
live example?

Thank you very much!... And sorry about my poor english. :P
Albert Garcia
http://www.obokaman.com
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/