Home >Web Front-end >JS Tutorial >How to use jquery to control CSS styles and cancel CSS styles (such as background color, there are examples)_jquery

How to use jquery to control CSS styles and cancel CSS styles (such as background color, there are examples)_jquery

WBOY
WBOYOriginal
2016-05-16 17:29:351062browse
jquery controls CSS styles and cancels CSS styles (such as background color)
$("#tab1").css("background-color", "");
$("# " left_tabid).css("background-color", "#025891");
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn