0

我正在尝试选择 uniqueDomID-227 在这行代码中引用的对象,但这样做没有任何运气。

<path id="uniqueDomId-227" fill="#4F81BD" fill-opacity="1" stroke="#385D8A" 
stroke-opacity="1" stroke-width="1" stroke-linecap="flat" stroke-
linejoin="round" d="M0,0 L96,0 96,80 0,80Z" data-stroke-sharpened="true" 
transform="translate(0.5, 0.5)" data-accepts="events" data-
reactid=".0.0.3.2.0.1.0:$6APsFT39tH6.0.3:$c202.1:$c203.2.$0.$0.$0"></path>

我试过使用 document.getElementById 和 jquery 但到目前为止还没有运气。我猜我错过了一些东西,所以任何建议都将不胜感激。这是来自 Articulate Storyline 课程并尝试选择一个对象以使用 Greensock 进行转换。

该元素没有其他唯一 ID - 有多个具有重复名称的类,据我所知,这是该对象的唯一唯一 ID。

4

0 回答 0