# Sidebar DOM references

**URL:** https://discourse.nodered.org/t/sidebar-dom-references/94726
**Category:** Feature Requests
**Created:** [19 January 2025 12:09 UTC](https://discourse.nodered.org/t/sidebar-dom-references/94726 "2025-01-19T12:09:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [19 January 2025 12:09 UTC](https://discourse.nodered.org/t/sidebar-dom-references/94726/1 "2025-01-19T12:09:40Z")

</div>

Would it not be possible to RETURN a **reference** to the added tab to `RED.sidebar.addTab` - that would make things a whole lot easier to work with - it could be a jQuery reference instead of a DOM ref.

Also, it appears that the tab ID is not added to the DOM as I'd expect?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/e/8e5dcb60848eca0c6ec1411465938ea18c89fd5a.png)

This makes it doubly hard to work with.

---

<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: [20 March 2025 12:10 UTC](https://discourse.nodered.org/t/sidebar-dom-references/94726/2 "2025-03-20T12:10:38Z")

</div>

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