Use $(document).ready()

Rob Loach - February 8, 2008 - 18:26
Project:reCAPTCHA
Version:5.x-2.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

At the moment, when adding the form, it doesn't use $().ready() to add the reCAPTCHA form. This must be fixed.

#1

Rob Loach - February 8, 2008 - 18:26

... Has to use....

$(document).ready().

#2

Rob Loach - February 11, 2008 - 08:23
Status:active» postponed (maintainer needs more info)

Looking at recaptchalib.php, we see that recaptcha_get_html returns the full < script > tag, as well as the < noscript >, so we'll have to find someway to use output that during $(document).ready().

Maybe make a < div class="recaptchaformblah">< /div > and then use jQuery to replace the text with a call to recaptcha_get_html?

 
 

Drupal is a registered trademark of Dries Buytaert.