我有一个带有< table >的JSP页面,其中一行的定义如下:
<td list-action class="actionColumn d-flex justify-content-end">
ID: ${appId}
</td>在javascript中,我为该行设置了一个属性:
row.find('[list-action]').attr("appId", template.id);当我查看模式时,我可以看到appId被设置为

你知道如何表现出这种价值吗?
发布于 2022-04-21 06:36:32
row.find('[list-action]').setAttribute("appId", template.id); ?https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute
https://stackoverflow.com/questions/71949658
复制相似问题