action withot refresh

Discussion in 'PHP' started by shotazi, Sep 15, 2007.

  1. #1
    i want to do form and when it will be submit i do not want to refresh page
    like on this forum when somebody posts with quick reply.

    please help me :)

    thanks
     
    shotazi, Sep 15, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    nico_swd, Sep 15, 2007 IP
  3. shotazi

    shotazi Peon

    Messages:
    422
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    and have you any code to give me?
     
    shotazi, Sep 15, 2007 IP
  4. Village_Idiot

    Village_Idiot Peon

    Messages:
    162
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    There is no one size fits all code, if you dont know javascript you will have to learn that, after that you have to learn about ajax.
     
    Village_Idiot, Sep 15, 2007 IP
  5. shotazi

    shotazi Peon

    Messages:
    422
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    okey you are right it is better to learn javascript and ajax and then i will write my own codes :D
     
    shotazi, Sep 15, 2007 IP
  6. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #6
    Look at the page I posted. It's clearly explained there, plus there are code examples.
     
    nico_swd, Sep 15, 2007 IP
  7. shotazi

    shotazi Peon

    Messages:
    422
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yes, i am looking w3schools is very good site
     
    shotazi, Sep 15, 2007 IP
  8. adrevol

    adrevol Active Member

    Messages:
    124
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #8
    go for prototype framwork , this will serve you in a simpler manner ...

    point that script to your head section and onclick of button with two lines of code get back the response from the server display it to user simple ,,,

    talking about Ajax.Updater function in prototype .. have a look at this
     
    adrevol, Sep 15, 2007 IP