Use document.getElementById(“objid”).className=”” to clear the style;
The className attribute sets or returns the class attribute of the element. You can love css styles more by changing the class attribute.
In some browsers (such as Chrome), it will return whatever value you assign to it. It is more painful in IE, it will format the output, capitalize the attributes, change the order of the attributes, and remove the last semicolon
Example:
![]()
Zhang San
WeChat ID: zhangsan
Department: Security Department
Information List add information
- Message List 10
- Message List 10
- Message List 10
- Delivery List 10
- Notification List 10
- Add information
- Add a message
- Add a comment
- Add communication
- Add notification