•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 426,808 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,846 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1665 | Replies: 7
•
•
Join Date: Oct 2007
Posts: 34
Reputation:
Rep Power: 1
Solved Threads: 0
hi,
i understand that the xmlHttp.responseText; attribute would return the server's message, but is there any way to get only ajax object's error messages?
see, i have a case.
lets say i have two different span on my page.
<span id="system"/>
<span id="display"/>
if ajax's object is throwing an error, i want it displayed on 'system' span. Otherwise if everything's normal, a tabled result will show in 'display' span. Is this possible?
i understand that the xmlHttp.responseText; attribute would return the server's message, but is there any way to get only ajax object's error messages?
see, i have a case.
lets say i have two different span on my page.
<span id="system"/>
<span id="display"/>
if ajax's object is throwing an error, i want it displayed on 'system' span. Otherwise if everything's normal, a tabled result will show in 'display' span. Is this possible?
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ad advertising ajax architecture asp backup beta business centro crash daniweb database dell developer development doubleclick enterprise firefox google home html internet javascript linux longhorn mail microsoft mmorpg msdn news novell office open qmail red hat rhel server site smtp software source sql suse vista web windows windows server
- https in C (C++)
- 'Server Busy' message (Viruses, Spyware and other Nasties)
- Server Busy message, HJT log (Viruses, Spyware and other Nasties)
- Outlook 2003 -> Server 2003 (Windows NT / 2000 / XP / 2003)
- cannot find server error message (Web Browsers)
- Server Error message when opening asp.net applicationm (ASP.NET)
- Cannot get rid of "Cannot Find Server" message (Viruses, Spyware and other Nasties)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: alert dialog box
- Next Thread: how to delete old session value



Threaded Mode