I have an array of created list items in my html document with JavaScript. and now, I want to get the elements of this array dynamically by a created attribute like data-id. and