I'm having problems using jQuery to manipulate XML documents (response
from Ajax queries).
I wonder if anyone can tell me what the problem is or where I'm going
wrong.

I've setup a page with tests here:
http://www.fyneworks.com/jquery/jQuery-XML-Problems/

For Test #3, your result area ID is wrong - you have 2 "Result2" divs and no "Result3" div.

For Test #5, you are trying to do this:

n = $('test', $('<div><em>Passed!</em></div>'));

which, of course, doesn't return any elements - there is no 'test' tag in the string you passed. Perhaps you meant to do this:

n = $('test', $('<div><test>Passed!</test></div>'));

I hope that helps. Cheers,

Jesse Skinner
http://www.thefutureoftheweb.com/


Reply via email to