Using Edgar's code from problem with JQuery UI and Recaptcha, I got
this situation figured out.
Just add this small snippet to
your form:
<div id="recaptcha_div"></div>'
<script type='text/javascript'>
Recaptcha.create("yourkey",
"recaptcha_div", {
theme: "red",
callback: Recaptcha.focus_response_field
});
</script>
And add this to the header:
<script type="text/javascript"
src="
http://api.recaptcha.net/js/recaptcha_ajax.js"></script>
Thanks Edgar.
On Jul 3, 4:12 pm, "Paul R." <
paul.reynev...@gmail.com> wrote:
> Howdy,
>
> I was asked to add reCAPTCHA to an existing site, so I can't take
> responsibility for the rest of the code. That said. I followed the PHP
> instructions on reCAPTCHA's site and have successfully gotten it
> working in both FF and IE; however, for some reason the JS sent back
> by reCAPTCHA's server to generate the proper mark-up errors out in
> Safari. The Web Inspector gives me the following error:
>
> TypeError: Value undefined (result of expression document.write) is
> not object.
http://api.recaptcha.net/challenge?k=6LeuLgcAAAAAAJfABDfI_iR_HXSpEhk_...