49 users online (1 members and 48 guests)  


  Results 1 to 2 of 2
  1. #1
    MdBenner's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2007
    Posts
    12

    2 or more asynchronous Requests - Is that possible?

    In a script I am trying to run three asynchronous Request with AJAX. However, only the first one is executed and the latter two arent. Any Ideas?

    Simon

  2. #2
    fric's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Apr 2007
    Location
    Mauritius
    Posts
    25

    Re: 2 or more asynchronous Requests - Is that possible?

    hi

    try to use in if, else block

    if(!object1)
    {
    objct1 = XMLHttp();
    object1.get('requestfile.php');
    }
    else
    {
    object2 = XMLHttp();
    object2.get('requestfile.php');
    }



Tags for this Thread