开发者

AHAH Javascript callback

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜