I don't understand the difference between this condition:
if ($("div")) { /* code */ }
and
if ($("div").length) { /* code */ }
What's the difference?
Aucun commentaire:
Enregistrer un commentaire