-
I'd like to include a button that executes some js code, but couldn't really figure it out. Here's what I tried:
But this doesn't seem to work. EDIT: Or any kind of code, it doesn't have to be JS. |
Beta Was this translation helpful? Give feedback.
Answered by
cscheid
May 2, 2023
Replies: 1 comment 2 replies
-
OJS is not javascript: you'll need to go through observablehq's tutorials to learn how to use their interactive features. If you want to use plain javascript in your HTML files you can do that with raw HTML blocks:
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jmhimara
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OJS is not javascript: you'll need to go through observablehq's tutorials to learn how to use their interactive features.
If you want to use plain javascript in your HTML files you can do that with raw HTML blocks: