I can succesfully hide the divs that contains a string in the id with this code:
The button:
<input type="button" id="mytest" value="filter"></input>
The js code:
//hides divs with class=screen3 and with 99 in its id
$('#myteste').click (function () {
$('div.screen3[id*="99"]').hide();
});
Now I need to do the opposite, to hide divs that doesn’t contain the string in it’s id but I don’t know how.
You can do that :
or