I have the following set up:
$("#content-button-panel")
.on('click', 'a:not(".folder")', function (event) {
event.preventDefault();
var $link = $(this);
ServerFunctions.getContentAjax($link);
});
I alread exclude any link with a class of “folder”. How can I also make
it that the following links that have a class starting with “title-…” are excluded?
<a class="title-x">xx</a>
<a class="title-123243234">yyy</a>
<a class="title-sadfdsaf">zzz</a>
Use multiple selector this will exclude both anchor tag elements