Well I remove the CSS of a certain element like this:
$('#menu' + this.id + '').removeClass('open');
What I need to do and remove from all elements #menu
less than informed.
I tried to do this:
!$('#menu' + this.id + '').removeClass('open');
But it did not work.
I have several #menu
as #menu1
, #menu2
. Being that they do not repeat themselves in html.
I need to remove the CSS from everyone, less than% informed%.
Does anyone know how to do this?