getting the id of "any" html element using jquery

getting the id of "any" html element using jquery

i need the get the element of "any" html element which is unknown using Jquery. is it possible? i tried this `var currentId = $(this).attr('id');`