# Getting width/height of an element on the panel UI

**URL:** <https://forums.creativeclouddeveloper.com/t/getting-width-height-of-an-element-on-the-panel-ui/1230>\
**Category:** UXP Plugin API\
**Tags:** ui, panel, javascript\
**Created:** [September 9, 2019, 11:12am UTC](https://forums.creativeclouddeveloper.com/t/getting-width-height-of-an-element-on-the-panel-ui/1230 "2019-09-09T11:12:28Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![psa](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/psa/32/42_2.png) [@psa](https://forums.creativeclouddeveloper.com/u/psa)\
**Post date:** [September 9, 2019, 11:12am UTC](https://forums.creativeclouddeveloper.com/t/getting-width-height-of-an-element-on-the-panel-ui/1230/1 "2019-09-09T11:12:28Z")

</div>

Greetings everyone,

I’ve been updating our plugins for panel-focused versions, but I’m having some trouble getting some element’s characteristics throught javascript. What I intend to do is get the width/height of a certain div inside the panel UI. After studying a log of said element, I’m failing to find anything that could give me anything related to width. The main objective is being able to check wether that element is larger than it was when previously checked.

Thanks in advance 👍

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/getting-width-height-of-an-element-on-the-panel-ui/1230)._
