Friends,
There are many DIVs on my page, I need to check if any have not yet been "finalized", for example:
<div class="triagem"> conteudo a ser analizado</div>
ready-made DIVs get another "class":
<div class="aprovada"> conteudo ja checado</div>
I tried a JS but it did not work because I do not have the element, since there are hundreds and all of them with different IDs:
if(.hasClass("triagem");){
//tratamento:
}
Another example that was not successful:
if(('[id^="triagem"]').classList.contains( 'triagem' ) ) {
//tratamento:
}
So, my question is: how to use java for confereir if you still have some div using the class "sorting"?