-
Why can make it work
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.
Last edited by joaquin386; 08-02-2007 at 09:22 AM.
Reason: bad first posting
Similar Threads
-
By Jocelyn Traher in forum Careers
Replies: 0
Last Post: 05-31-2006, 03:03 PM
-
By Jay King in forum .NET
Replies: 12
Last Post: 01-28-2003, 01:26 PM
-
Replies: 1
Last Post: 11-06-2001, 10:43 AM
-
Replies: 3
Last Post: 08-30-2001, 11:45 AM
-
By Peter Prager (Canam Software) in forum vb.announcements
Replies: 0
Last Post: 08-15-2001, 10:48 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|