Many apologies, the get is getting the xml but this line is not executing as expected. Again, this does work without the server running:
Code:
if(($(data).find(':first-child').parent().attr('type')) == "content"){
and here is a bit of the xml:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<Root type="content">
<Page>
<hMenuHighlight>home</hMenuHighlight>
<pageName>Home</pageName>
firebug is telling me that the first child with a type of content is undefined.
UPDATE: this does work with the server running, but not when it is off.
Code:
if(($(data).find(':first-child').attr('type')) == "content"){
So why is the xml format(dom?/heirarchy) changing when a server is running?
Todd
Bookmarks