What I’m trying to do
I have the Dataview plugin. I am trying to create a button, upon clicking, it will display a message box. But the button is not responding. This is the code
dv.el("button", "Click Me!", () => {
alert("Success! The button was clicked.");
});
### Things I have tried
<!-- Below this line, write what terms you searched in the help docs and forum, plus any solutions you tried and what happened. -->
I have make sure all Javascript related options for the plugin are on. I have disabled all other plugins to avoid potential plugins. I have opened the developer console to monitor for errors. There are no errors.
Any ideas? Thank you