How do I add text to specific div element using jQuery?

后端 未结 5 1163
南笙
南笙 2021-02-14 05:08

I am having a problem with jquery. My HTML is

5条回答
  •  粉色の甜心
    2021-02-14 05:57

    $('#first span.test').text('Welcome');
    

    jQuery selectors are CSS selectors extended with a bit of magic. You can find everything you need to know here: http://api.jquery.com/category/selectors/

提交回复
热议问题