Drupal.behaviors.computer_servicesLoadInstructionSet = {
attach: function (context, settings) {
$( "a[data-interaction]" ).once( "instructionajax", function() {
$( "a[data-interaction]" ).unbind().bind( "click", function() {
$( this ).removeAttr( "data-interaction" ).ajaxInclude();
$( this ).on( "ajaxInclude", function () {
// … do some things after load here
});
return false;
});
});
}
};