Page 1 of 1

Page-specific Javascript?

Posted: Tue May 12, 2015 7:21 am
by Reynaldo Libutan

Whenever I create a new javascript, that JS is basically loaded in all pages (regardless what the starting page is etc).

How do I create a page-specific javascript?


Page-specific Javascript?

Posted: Tue May 12, 2015 1:22 pm
by Serhii Kulibaba

Hello Reynaldo,

Please wrap all your JS code to function and execute it on any page you want.

Other case - add JS on any event of the page or in HTML-component.