Highlighted

How to include JavaScript for an AEM Website | AEM Community Blog Seeding

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K
kautuk_sahni
Community Manager

19-07-2020

BlogImage.jpg

How to include JavaScript for an AEM Website by SourceDecode

Abstract

Adding behaviour to a form, button, list of items, or page scroll are some examples of front-end user interactions that we as developers must implement, to enable user rich experiences. How do we add behaviours to a page? JavaScript! JavaScript is the technology used to add user rich experiences for a website.

AEM website can include & run front-end JavaScript logic like all other websites. Note, There’s nothing special about an AEM web page, as an AEM page rendered output is nothing but a standard HTML document; there’s no magic or surprises.

In this article, we will explore the 4 techniques of how we can include JavaScript within a webpage.

Including JavaScript By:
1. HTML Event Attributes
2. Inline JavaScript
3. Internal Client Libraries JavaScript
4. External JavaScript

Read Full Blog

How to include JavaScript for an AEM Website

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager