Im trying to do something similar to this, but cant get it going.
What I want to do different is to search for a class similar to the example, but then add a class to the sub "a" tag. Something like this.
$("#tabAdm").closest('li[class^="tabAdmission"] > a').addClass('active_pat_tab');
It seemed simple, but like I said, cant get it to work.