How to add text to an existing div with jquery

前端 未结 6 440
礼貌的吻别
礼貌的吻别 2020-12-08 00:27

I want to add text to an existing div, when I click the Button with the id #add. But this is not working.

Here my code:

6条回答
  •  忘掉有多难
    2020-12-08 00:54

    we can do it in more easy way like by adding a function on button and on click we call that function for append.

提交回复
热议问题