Closed Thread
Results 1 to 2 of 2

Thread: readyState problemo

  1. #1
    Jaan Guest

    readyState problemo

    Hey.. i have this script:
    HTML Code:
    <script type="text/javascript">
    function displayText() {
    
    if (getRequest.readyState == 1){
    document.write("<center><img src='loading-ajax.gif'><br><font style='font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; font-weight:bold; color: #CCC;'><center>Loading...</center></font></center>");
    }else if (getRequest.readyState == 4) {
    document.getElementById('result_here').innerHTML = getRequest.responseText;
    }
    
    }
    </script>
    (i didnt post a full script)

    well.. it don't work.. i don't know why :/

    without this first if statement.. it works perfectly.. but when i add this when this script don't work..

    anyone knows what's the problemo?

  2. CODECALL Circuit advertisement

     
  3. #2
    Jaan Guest

    Re: readyState problemo

    ah. np i fixed it

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problemo
    By TheCEOandPresident in forum General Programming
    Replies: 3
    Last Post: 07-31-2010, 01:25 AM
  2. CSS problemo
    By Jaan in forum JavaScript and CSS
    Replies: 6
    Last Post: 03-24-2009, 05:50 AM
  3. unlink problemo
    By Jaan in forum PHP Development
    Replies: 1
    Last Post: 08-13-2008, 08:32 AM
  4. Session problemo
    By Jaan in forum PHP Development
    Replies: 1
    Last Post: 03-05-2008, 02:23 PM
  5. Cookies problemo
    By Jaan in forum PHP Development
    Replies: 2
    Last Post: 06-17-2007, 09:41 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts