|
||||||
| AJAX Web based language that allows asynchronous loading of pages that does not interfere with normal page loading. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
I created my first AJAX application and everything was going great when I used responseText to retrieve my data.
I decided to switch to XML output and now I receive "Object Null" error when I alert my output. When I change it back to responseText I can see the XML output. Can someone tell me what is wrong? JavaScript Code:
|
| Sponsored Links |
|
|
|
|||||
|
There can be several reasons for this but one of the most common is that the content you are reading is not set to text/html.
In PHP you set it: php Code:
An easy way to tell is to load your output into your browser. It should appear in XML format (with a tree like structure) and not just plain text.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog Don't hesitate to ask any questions that you have! Check out our ASCII Calculator! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Executing applications and CMD commands from C++ | N00bDaan | C and C++ | 3 | 07-03-2007 12:51 PM |
| null exception problem | connor7777 | C# Programming | 2 | 03-28-2007 11:37 AM |
| Object is Null | Lop | C# Programming | 2 | 09-21-2006 11:25 AM |
| Best way to check if an object is null? | dirkfirst | Managed C++ | 0 | 08-01-2006 07:29 AM |
| Check object for null | Lop | C# Programming | 3 | 07-18-2006 05:56 AM |