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) |
Jump to:
Description
At the moment, when adding the form, it doesn't use $().ready() to add the reCAPTCHA form. This must be fixed.

#1
... Has to use....
$(document).ready().
#2
Looking at recaptchalib.php, we see that
recaptcha_get_htmlreturns 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?