0
Friends,
There are many Divs on my page, I need to check if any have not been "finalized", for example:
<div class="triagem"> conteudo a ser analizado</div>
Ready Divs get another "class":
<div class="aprovada"> conteudo ja checado</div>
I tried a JS but it didn’t work because I don’t have the element, since there are hundreds and all with different ID:
if(.hasClass("triagem");){
//tratamento:
}
another example that I did not succeed:
if(('[id^="triagem"]').classList.contains( 'triagem' ) ) {
//tratamento:
}
So, my question eh: how to use java to check if you still have any dives using the "triage class" ?
Oh yes... Thank you! was a typo of this example... SOMETHING ELSE: I could repeat how to use the example { $('.screening'). size(). } don’t understand?!?! how to use with an IF please!
– Roberval Sena 山本
Sure, I’ll explain it better.
– Rubico
Take a look to see if it’s clearer now.
– Rubico
It was very easy to get bored! I don’t know how to thank you!!! I’ll test now! SAME BRIGADE!... something else.. where you are at that time of the morning writing code to others?
– Roberval Sena 山本
I’ve been living in India for a while, so here’s 3PM ;)
– Rubico
when Voce puts a "console.log"?
– Roberval Sena 山本
my dear ... I think I’m eating ball.. I thought I was wrong about the typing.. but that’s correct.. it always returns "0" or empty.... I’ve run several tests... on the console for exeplo give a "$('.memo-list-check')" and it returns 2... what you think might be?
– Roberval Sena 山本