javascript - Liferay set the id of liferay-ui:search-container-row -
i want set id
of tr
result of tag liferay-ui:search-container-row
, how can it?
for example, resulting table row is:
<tr id="aui_3_4_0_1_350" class="portlet-section-header results-header">
i want attach javascript resulting table , need refer various table row, id="aui_3_4_0_1_350"
. use class selector
, don't know how set it.
it not posible set customized id value search-container-row. because generated based on input list , ids need unique. can access using selector starting search-container itself. depends on trying accomplish.
if you're using jquery or similar should easy since there's variety of them: https://api.jquery.com/category/selectors/
Comments
Post a Comment