The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get a table element in forge macro?

今井 大樹
December 21, 2022

I want to get the table elements placed in the page with the forge macro.
However, when I use

document.getElementsByTagName("table")

, the retrieved table element is 0.
I am assuming that this is due to the fact that the above code is written in App.js, so the scope is different.
If anyone knows a better way to do this, please let me know.
Table using the standard "Insert Table" macro.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events