Skip to main content
Participant
March 17, 2010
Question

Reloading captcha without refreshing the whole page

  • March 17, 2010
  • 1 reply
  • 789 views

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.

<cfset

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!

Stefan

This topic has been closed for replies.

1 reply

Inspiring
March 17, 2010

iframe