1
我有一個問題,試圖在jQuery的移動應用程序實現reCaptcha到zend形式。當jquery mobile被禁用時,一切都還好,但我需要使用它,但是我只能看到來自recaptcha +驗證消息的標籤。zend形式與jquery移動和recaptcha
$recaptcha = new Zend_Service_ReCaptcha(
'644443tQSAA4444444444444444444WNm6',
'6L44443444444444444444444EmA_4448');
$captcha = new Zend_Form_Element_Captcha('challenge2',
array(
'captcha' => 'ReCaptcha',
'captchaOptions' => array(
'captcha' => 'ReCaptcha',
'service' => $recaptcha
)
)
);
$captcha->setLabel('hello');
$captcha->setErrorMessages(array('Please retape above words correctly'));
$this->addElement($captcha);
我試圖$captcha->setAttrib('data-role', 'none')
但沒有幫助。
如何使用Zend Framework在jQuery Mobile上顯示reCaptcha?
您是否找到解決方案? –