DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: Why can make it work

  1. #1
    Join Date
    Aug 2007

    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 =;
    // 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

  1. Manufacturing Test Manager - Citrix - San Jose, CA
    By Jocelyn Traher in forum Careers
    Replies: 0
    Last Post: 05-31-2006, 03:03 PM
  2. MID Take two
    By Jay King in forum .NET
    Replies: 12
    Last Post: 01-28-2003, 01:26 PM
  3. Top fixed screen
    By Cheng in forum Web
    Replies: 1
    Last Post: 11-06-2001, 10:43 AM
  4. Script for scrolling
    By Mark in forum Web
    Replies: 3
    Last Post: 08-30-2001, 11:45 AM
  5. Turbo Data: test data generator (
    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
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center