# Include JS in a html custom module

**URL:** <https://discourse.nodered.org/t/include-js-in-a-html-custom-module/10434>\
**Category:** General\
**Created:** [22 April 2019 18:13 UTC](https://discourse.nodered.org/t/include-js-in-a-html-custom-module/10434 "2019-04-22T18:13:47Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [28 April 2019 13:25 UTC](https://discourse.nodered.org/t/include-js-in-a-html-custom-module/10434/10 "2019-04-28T13:25:42Z")

</div>

You don't need script inside script. The core debug node uses a script tag to load another file: [https://github.com/node-red/node-red/blob/c7587960fbfe77a1609e7c3c29705bc1d5918dc3/packages/node\_modules/%40node-red/nodes/core/core/58-debug.html#L34](https://github.com/node-red/node-red/blob/c7587960fbfe77a1609e7c3c29705bc1d5918dc3/packages/node_modules/%40node-red/nodes/core/core/58-debug.html#L34)

@Holger-Will I'm not clear what you are asking for here that you cannot already do?

---

_[View the full topic](https://discourse.nodered.org/t/include-js-in-a-html-custom-module/10434)._
