I'm trying to select the element with class="{c}"
<div id="main">
<div class="{c}"> some data </div>
<div class="{c}"> some data </div>
<div class="{c}"> some data </div>
<div class="{c}"> some data </div>
</div>
here is my jQuery code :
$('#main').find('.{c}' ).each(function()
{
console.log($(this).html());
})
but i get error:
Uncaught Error: Syntax error, unrecognized expression: .{c}
how can i select this element ?
btw , I'm scraping data from some website using chrome puppeteer ... i don't own the website and can't change the class name