House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  Ajax

Why can make it work

  << Previous Post |  RSS |  Subscribe to this Group Next >> 

Why can make it work

I have these: Joaquin Henriquez (MI/EEM) 08/02/2007 09:33 AM

08/02/2007 09:33 AM
Author: Joaquin Henriquez (MI/EEM) Short Link: http://www.houseoffusion.com/groups/ajax/thread.cfm/threadid:1415#4445 I have these: xmlResponse = xmlHttp.responseXML; // obtain the document element (the root element) of the XML structure xmlDocumentElement = xmlResponse.documentElement; // get the text message, which is in the first child of // the the document element StatusProcess = xmlDocumentElement.firstChild.data; // update the client display using the data received from the server document.getElementById("divMessage").innerHTML = '<i>' + StatusProcess + '</i>'; // restart sequence if (StatusProcess == 1) { document.getElementById("divMessage").innerHTML ="entra if"; } Bu the code doesn't go inside the if. Why is that? In the innerHTML outside the if I have a value of 1. Joaquin
<< Previous Thread Today's Threads Next Thread >>

Search ajax

May 20, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference