# Node-red-dashboard read the ui title

**URL:** <https://discourse.nodered.org/t/node-red-dashboard-read-the-ui-title/32150>\
**Category:** Dashboard\
**Created:** [28 August 2020 13:46 UTC](https://discourse.nodered.org/t/node-red-dashboard-read-the-ui-title/32150 "2020-08-28T13:46:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dh1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dh1/32/27866_2.png) [@dh1](https://discourse.nodered.org/u/dh1)\
**Post date:** [28 August 2020 13:46 UTC](https://discourse.nodered.org/t/node-red-dashboard-read-the-ui-title/32150/1 "2020-08-28T13:46:30Z")

</div>

Real simple question...is there a way to retrieve in javascript the site title as set in the site dashboard tab? I'd like to retrieve the value of this so I can use it for status reporting and such. So the equvalent of mysite=global.get("sitetitle");

Thanks!

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [29 August 2020 00:40 UTC](https://discourse.nodered.org/t/node-red-dashboard-read-the-ui-title/32150/2 "2020-08-29T00:40:54Z")

</div>

Use the browsers Devtools to get an accurate selector (right click the item, inspect, right click the HTML, copy -\> selector) then you can use jQuery `$("#id-or-selector-of-title").text()` to get it's text.

---

<div class="post-metadata">

**Author:** ![dh1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dh1/32/27866_2.png) [@dh1](https://discourse.nodered.org/u/dh1)\
**Post date:** [29 August 2020 22:18 UTC](https://discourse.nodered.org/t/node-red-dashboard-read-the-ui-title/32150/3 "2020-08-29T22:18:33Z")

</div>

This isn't an element on the page. It's in the header between the brackets.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [29 August 2020 22:33 UTC](https://discourse.nodered.org/t/node-red-dashboard-read-the-ui-title/32150/4 "2020-08-29T22:33:03Z")

</div>

Then use `document.title`

---

<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 September 2020 22:33 UTC](https://discourse.nodered.org/t/node-red-dashboard-read-the-ui-title/32150/5 "2020-09-28T22:33:11Z")

</div>

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