How to find element without use ID

前端 未结 5 387
甜味超标
甜味超标 2021-01-27 14:43

I have DOM element in array

this.object = 
     
\"color1 text1
5条回答
  •  太阳男子
    2021-01-27 15:07

    You should use jquery and then you can write it like this:

    $('.color').html('updated text')
    

提交回复
热议问题