• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Reloading captcha without refreshing the whole page

New Here ,
Mar 17, 2010 Mar 17, 2010

Copy link to clipboard

Copied

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

TOPICS
Advanced techniques

Views

746

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 17, 2010 Mar 17, 2010

Copy link to clipboard

Copied

LATEST

iframe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation