jquery callback function

Posted by kusanagi on Stack Overflow See other posts from Stack Overflow or by kusanagi
Published on 2010-04-18T21:43:19Z Indexed on 2010/04/18 21:53 UTC
Read the original article Hit count: 541

Filed under:
|
|
|

i use recaptcha

Recaptcha.create("xxx", "recaptcha", {
            theme: 'clean',
            tabindex: 0,
            callback: $("#id").focus
        });

i want to use callback to focus some field, but it doesn't work, only callback: f works

 function f() {
        $("#FIO").focus();
    }

what is the problem?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about recaptcha