Recaptcha Uncaught SecurityError:阻止了来源为"https://www.google.com"的框架
我使用的是Recaptcha 2nd版本.将带有Ajax的表单日期发布到服务器后,我得到了
I am using recaptcha 2nd version.After posting form date with ajax to server i am getting
未捕获的SecurityError:阻止了来源为" https://www.google.com 的框架"源为" http://localhost:14656 的框架.请求访问的框架的协议为"https",即正在访问的帧的协议为"http".协议必须匹配."错误.
"Uncaught SecurityError: Blocked a frame with origin "https://www.google.com" from accessing a frame with origin "http://localhost:14656". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match." error.
在布局中添加脚本为src ='//www.google.com/recaptcha/api.js'异步延迟
In layout added script as src='//www.google.com/recaptcha/api.js' async defer
我正在将ASP MVC 4.0用于项目.
I am using ASP MVC 4.0 for project.
你能帮我吗?