On Jan 17, 4:31 pm, jeremyharris <[email protected]> wrote:
> When you say the captcha is displayed on its own, do you mean when you
> click the link the entire page is replaced with just the captcha?

Yes.

> If this
> is the case, then it sounds like the ajax is not firing. If it is firing
> (check with firebug), then the script will only replace anything in the
> #captchaID div. FYI if you do it this way anyone with JS turned off will be
> directed to the link (/users/reload_captcha) and will just see the captcha
> and not the whole form.
>
> So, check to make sure the ajax is firing using Firebug and see what the
> response is. If it is firing, then I'm not sure what to tell you - the
> script clearly states that it will just replace your #captchaID div with
> the contents from /users/reload_captcha

OK, I don't have Firebug but I do have Google Chrome.  If I put a
break point on the javascript
in Chrome e.g. on the line following "//<![CDATA["
... execution only stops on the break point when the page loads, not
when I click on "Can not read this code? Reload".  Is this right?  I'm
not sure what I'm doing.  I mean the code just defines the javascript
function right?  There does not seem to be a place for breaking on the
actual link.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to