Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/401.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript reCAPTCHA在Twitter引导对话框中不起作用_Javascript_Jquery_Twitter Bootstrap - Fatal编程技术网

Javascript reCAPTCHA在Twitter引导对话框中不起作用

Javascript reCAPTCHA在Twitter引导对话框中不起作用,javascript,jquery,twitter-bootstrap,Javascript,Jquery,Twitter Bootstrap,我试图在Twitter引导对话框中添加一个reCAPTCHA。我发现它不起作用。对话框中未显示任何内容 这是我的密码: 体内 结果如下 有人能帮我修改代码吗?谢谢 听show.bs.modal事件,然后初始化标题。示例代码请:抱歉,我已将其修复。我不应该直接使用浏览器测试我的网页:\ <div class="modal fade" id="recaptchaModel" tabindex="-1" role="dialog"> <div class="

我试图在Twitter引导对话框中添加一个reCAPTCHA。我发现它不起作用。对话框中未显示任何内容

这是我的密码: 体内

结果如下


有人能帮我修改代码吗?谢谢

听show.bs.modal事件,然后初始化标题。示例代码请:抱歉,我已将其修复。我不应该直接使用浏览器测试我的网页:\
<div class="modal fade" id="recaptchaModel" tabindex="-1" role="dialog">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                        <h4 class="modal-title">Enter the text below to continue</h4>
                    </div>
                        <div class="modal-body" id="recaptcha_div">
                        </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-success" onclick="submitForm()">Continue</button>
                    </div>
                </div>
            </div>
        </div>
<script src="js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
function buttonAction() {
    showRecaptcha();
    $('#recaptchaModel').modal();
};
function showRecaptcha(){
                Recaptcha.create("my key(I am sure that I put the correct key", 'recaptcha_div', {
                    theme: "red",
                    callback: Recaptcha.focus_response_field});
            };