JS获取Jason数据失败一例

    在使用image_captcha_refresh刷新captcha模块提供的校验码时,发现无法刷新(原生主题中使用不存在该问题)。经调试,发现是js执行没有成功。image_captcha_refresh.js的代码如下:

Drupal.behaviors.imageCaptchaRefresh = function (context) {

  $('.reload-captcha', context).not('.processed').bind('click', function () {[……]

阅读全文