# Selector SVG element

**URL:** <https://discourse.nodered.org/t/selector-svg-element/90306>\
**Category:** Dashboard\
**Created:** [21 August 2024 09:31 UTC](https://discourse.nodered.org/t/selector-svg-element/90306 "2024-08-21T09:31:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [21 August 2024 09:31 UTC](https://discourse.nodered.org/t/selector-svg-element/90306/1 "2024-08-21T09:31:32Z")

</div>

I'm trying to make a dynamic table in [svg](https://flows.nodered.org/node/node-red-contrib-ui-svg) node db1.

Using this [example](https://tink.uk/accessible-svg-tables/) works great. We see some data but changing dynamically is not working due the reason I don't know what selector to use to change the data.  
This is for example the second row (index start at 1, headers is also counted as row) third column.  
what should the selector be for this element?

 ![Capture](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/9/19988121c8dac75aa37c0d1bc4272589f04a3ac6.png)

---

<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:** [21 August 2024 12:47 UTC](https://discourse.nodered.org/t/selector-svg-element/90306/2 "2024-08-21T12:47:10Z")

</div>

the best and most accurate way to get a selector is to open dev tools on your browser and look at the structure. Most browsers devtools also have a right-click, copy selector (but it is often not _exactly_ what you want, but it can help)

You can even test your selector is "what doing you want" by entering it in the devtools console

```auto
`$$('.some#selector')`

```

and it will show you exactly what it targets. If you got it wrong, it will be nothing. If you were too wide, it may include lots of things.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/d/9d838569ab609c815028e18f6bfa0604ad3acbf1.png)

---

<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:** [4 September 2024 12:47 UTC](https://discourse.nodered.org/t/selector-svg-element/90306/3 "2024-09-04T12:47:58Z")

</div>

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