jquery use data value to find id value code example Example: jquery get data-id const dataId = $('#elementId').attr("data-id");