简体   繁体   中英

Jquery Removing psuedo element styles - disabling anchor unstyle anchor

I have declared my anchor style like this:

.disabledanchor a,
.disabledanchor a:hover,
.disabledanchor a:focus {
color: inherit;
cursor: inherit;
text-decoration: inherit
}

What should I pass to the jquery addclass to apply this style?

Thanks, Chris.

班级名称,当然是"disabledanchor"

$(document).ready(function(){
    // replace element with Selector/dom element/object/array
    $(element).addClass('disabledanchor');
});

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM