how to identify the id of a selector in jquery? code example
Example 1: get id by this jquery
alert($(this).attr('id'))
Example 2: how to select id in jquery
$(document).ready(function() {
let tags = $("p"); //for tags
let classes = $('.myClass'); //for class
let id = $('#myID'); // for ID
})