I am using spring MVC with jsp page for presentation, i have three tab suppose A,B and C in one jsp page. While clicking on A tab the css f
You just give that link tag an id or a class (say id="deleteMe") then remove it like below:
$('head').find('link#deleteMe').remove();
So in your case add id to each file when you link them like this:
Now to remove only Second.css, Third.css you have to write your jQuery like this:
(function ($) {
$('head').find('link#aa').remove();
$('head').find('link#bb').remove();
})(jQuery);