Removing the CSS file

前端 未结 4 2028
时光取名叫无心
时光取名叫无心 2020-12-30 08:36

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

4条回答
  •  囚心锁ツ
    2020-12-30 09:22

    Give an id to the tag.

    
    
    

    And use this code:

    $("#A").click(function(){
        $("#style1").attr("disabled", "disabled");
    });
    

    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:

    • If the disabled attribute has been added directly to the element on the page, do not include the element instead;
    • Set the disabled property of the DOM object via scripting.

提交回复
热议问题