what is the right way to determine if an object has one class OR another one? The following is appearantly wrong..
if ($(\'#menu-item-49\').hasClass(\'curren
The following is what you've in mind:
var menuItem49 = $('#menu-item-49'); if (menuItem49.hasClass('current-menu-item') || menuItem49.hasClass('current-menu-parent')) { // ... }