This post was flagged by the community and is temporarily hidden.
look at the generated html, is jQuery being loaded before the js the custom tag outputs?
The jQuery is being loaded after the js the custom tag outputs.
so you know what the problem is, you need to load jquery before you reference it.
there are a few different approaches, you can just always load jquery in your page section or add it dynamically, use a request variable in your custom tag to avoid loading it multiple times, the following two tags can help
Thanks for the answer, I found the problem. The issue was that one of my custom tag files was named layout.cfm and was not being included by lucee. This file is the one that include jQuery properly. I just renamed it and everything worked.
shouldn’t it have thrown an exception?