how can i add a custom javascript in sliverstrip template page.ss file.
or
can i add Inline javaScripts throw cms (texteditor)
plz help
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
how can i add a custom javascript in sliverstrip template page.ss file.
or
can i add Inline javaScripts throw cms (texteditor)
plz help
You can add javascript to the template with
<% require javascript(mysite/javascript/MyJavaScript.js) %>