How do I add a class to a given element?

前端 未结 25 2259
清酒与你
清酒与你 2020-11-21 11:34

I have an element that already has a class:

25条回答
  •  南笙
    南笙 (楼主)
    2020-11-21 12:12

    first, give the div an id. Then, call function appendClass:

    
    

提交回复
热议问题