# Node red ui builder with jquery?

**URL:** <https://discourse.nodered.org/t/node-red-ui-builder-with-jquery/52208>\
**Category:** Dashboard\
**Tags:** uibuilder\
**Created:** [14 October 2021 10:26 UTC](https://discourse.nodered.org/t/node-red-ui-builder-with-jquery/52208 "2021-10-14T10:26:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomyT](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@TomyT](https://discourse.nodered.org/u/TomyT)\
**Post date:** [14 October 2021 10:26 UTC](https://discourse.nodered.org/t/node-red-ui-builder-with-jquery/52208/1 "2021-10-14T10:26:18Z")

</div>

Hello,

I try to use jquery code inside my index.js file (using node red contrib uibuilder).  
But I always get an error if i use code like this: $('#container').hide();

The browser shows me: "Uncaught ReferenceError: $ is not defined".

I found an jquery example flow [jquery example](https://flows.nodered.org/flow/b76bb64411cca41646a20d243a71bc78/in/6c96b1c2350dcb4536903a3158d6254d)  
But there is now juqery code inside the index.js file.

Is there no way to use jquery or what am I doing wrong?

Thanks, Tom

---

<div class="post-metadata">

**Author:** ![TomyT](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@TomyT](https://discourse.nodered.org/u/TomyT)\
**Post date:** [14 October 2021 10:45 UTC](https://discourse.nodered.org/t/node-red-ui-builder-with-jquery/52208/2 "2021-10-14T10:45:58Z")

</div>

Hello,

I found the problem 😉  
I forgot to implement the jquery script file inside the index.html.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [28 October 2021 10:46 UTC](https://discourse.nodered.org/t/node-red-ui-builder-with-jquery/52208/3 "2021-10-28T10:46:23Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
