User Name Password Register
DaniWeb IT Discussion Community
All
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 373,488 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 3,888 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

ajax server-returned message?

Join Date: Oct 2007
Posts: 34
Reputation: adrive is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
adrive adrive is offline Offline
Light Poster

ajax server-returned message?

  #1  
Nov 27th, 2007
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?
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 5:50 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC