how to access tr with data id in jqueyr code example Example: jquery get data-id const dataId = $('#elementId').attr("data-id");