Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to run a function after entire page is loaded in AEM

priyankam868659
Level 2
Level 2

I added a jquery plugin to Adobe Experience Manager Training

When I run the code on the console it works

but not when I add the same lines to the js file.

What would be the issue?

1 Accepted Solution
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor
2 Replies
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor
Hkrtraining
Level 1
Level 1

I added a jquery plugin to Adobe Experience Manager Training

When I run the code on the console it works

but not when I add the same lines to the js file.

What would be the issue?