Board Thread:General Coding Help/@comment-32922752-20181003142914/@comment-27345308-20181003143200

That's because inline JavaScript, if allowed, would be a security issue on Wikia. What you can do is put on the page and in your JavaScript, and it will add click handlers to your div that will call the function.