AJAX Experts! Question for you.

Discussion in 'PHP' started by LordXenu, Nov 11, 2010.

  1. #1
    I have a search setup which returns specific values from a database, and lists them in a table. I'd like for this to work without a page refresh and to keep things dynamic. How do I go about having a loading image display onclick when the search is performed, and hold out until all the data has been compiled?
     
    LordXenu, Nov 11, 2010 IP
  2. pro-php-developer

    pro-php-developer Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    simple.. show ur image using some dhtml before u submit.and hide it when the response comes back(in a call back or something).Using jquery or YUI u cud do this easily..

    good luck
     
    pro-php-developer, Nov 11, 2010 IP
  3. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #3
    post your ajax script here, then ill tell you where you put your loader
     
    bartolay13, Nov 11, 2010 IP