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 file such as aa.css have being loading in head tag with respective div is shown and the same way on click on B and C. The main problem is once the Three .CSS file is being loaded it overwrite each other. Also i want to remove css file from head which has being loaded on click of any of above tab using jquery as shown below.
$("#A").click(function(){
alert("Remove bb and cc.css file form head tag");
});
any idea will help me lot.
Thanks.
Give an
idto the<link>tag.And use this code:
Note: While there is no disabled attribute in the HTML standard, there is a disabled attribute on the HTMLLinkElement DOM object.
The use of disabled as an HTML attribute is non-standard and only used by some Microsoft browsers. Do not use it. To achieve a similar effect, use one of the following techniques:
disabledattribute has been added directly to the element on the page, do not include the<link>element instead;disabledproperty of the DOM object via scripting.