How would I refresh a captcha without refreshing the page?

Discussion in 'PHP' started by phantom, Nov 12, 2007.

  1. #1
    I have a CAPTCHA that is included into the page by a file, captcha.php.

    Is there a way to refresh the captcha without refreshing the page.

    I would like to do it without javascript but if that is all that will work then that is ok too.

    Currently if someone clicks to refresh the captcha image whatever else is in the form is lost and people have to retype ....so of course I am trying to figure out how to make it not do that.

    Any help or ideas you guys can give would be greatly appreciated.
     
    phantom, Nov 12, 2007 IP
  2. iwyrobi

    iwyrobi Peon

    Messages:
    91
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to use ajax to refresh the page without reloading the whole page.
     
    iwyrobi, Nov 12, 2007 IP