1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

jQuery ready states

Discussion in 'jQuery' started by cancer10, Jul 2, 2008.

  1. #1
    Hi,

    Just wondering whats the function used in jQuery for ajax XMLHttpRequest

    Like the following


    0 The request is not initialized
    1 The request has been set up
    2 The request has been sent
    3 The request is in process
    4 The request is complete


    More info here: http://www.w3schools.com/ajax/ajax_xmlhttprequest.asp



    Thanx
     
    cancer10, Jul 2, 2008 IP
  2. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    jQuery (and other libraries) abstract this so you don't have to do it yourself. Just set the call back and thats it.
     
    MMJ, Jul 2, 2008 IP
  3. cancer10

    cancer10 Guest

    Messages:
    364
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    An example would be appreciated
     
    cancer10, Jul 2, 2008 IP
  4. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #4
    MMJ, Jul 2, 2008 IP