// How to get a DOM Element from a jQuery selector? const div = $("div.fancy"); div[0]; // OR: div.get(0);