开发者

AHAH Javascript callback

开发者 https://www.devze.com 2023-01-29 12:16 出处:网络
Can we specify a Javascript function to be called afte开发者_开发知识库r the AJAX request from a Drupal AHAH form is completed?I don\'t think there is a clean way to do this.

Can we specify a Javascript function to be called afte开发者_开发知识库r the AJAX request from a Drupal AHAH form is completed?


I don't think there is a clean way to do this.

Try including a script element when returning html to be inserted in the dom.


A little late to the party but you can use:

$(document).ajaxComplete(function() {
  // custom JS here
});
0

精彩评论

暂无评论...
验证码 换一张
取 消