H
H
harry9992021-07-02 10:38:10
JavaScript
harry999, 2021-07-02 10:38:10

Why does not work || in if js?

Good morning, this piece of code does not work, I can not understand what the problem is, tell me please!

if (($(this).attr('id') !== 'aa') || ($(this).attr('id') !== 'bb') || ($(this).attr('id') !== 'cc')) {

}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question