how to fire jquery events after views ajax updated

Submitted by admin on Sun, 10/09/2016 - 13:06

in drupal for compiling some scripts after an ajax loads, you can use the drupal Behaviors.

here is an example of how to use this method:


Drupal.behaviors.myBehavior = {
   attach: function (context, settings) {
      // your jquery or javascript codes goes here ...
   }
};