You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pierre Germain edited this page Feb 28, 2022
·
1 revision
Execute Js if page is loaded
// Cambia font size en slider
Drupal.behaviors.mymodule_loaded = {
attach: function (context, settings) {
// Only if page is loaded we want our script executed
$.get(this.href, function (response) {
console.log('Hello, this is after the page is loaded');
});
}
};