1 Reply Latest reply on Mar 17, 2010 5:25 AM by Dan Bracuk

    Reloading captcha without refreshing the whole page


      Hi all,


      How can I refresh a certain part of my page, the captcha, that is located in my form?


      The reason I want to do this is that people who can't read the captcha won't have to fill in the form all over again.


      The code I want to reload is: 1) a function call to generate the captcha text. 2)the <cfimage> tag that contains the captcha.




      tekst = Facade.genereerCaptcha() >


      <cfinput type="hidden" style="width:150px" name="captchaWaarde" value="#tekst#" tabindex="8">


      <cfimage action="captcha" difficulty="low" height="35" width="150" text="#tekst#">




      Thanks in advance!