I understand how an if condition works. Like this:
if (condition) {
block of code to be executed if the condition is true
}
But how do I reverse e.g. do not fire this line of code if statement is correct?
if $("span:contains('399')) {
block of code to be executed if the condition is false
}
Aucun commentaire:
Enregistrer un commentaire