jQuery add next to (add after)

前端 未结 5 1968
刺人心
刺人心 2021-01-03 17:59

HTML is
ref

I need to get
reftext

How can i do this? $(\'a\').append(\'text\')<

5条回答
  •  独厮守ぢ
    2021-01-03 18:19

    You can do something like this:

    $('').insertAfter('class name or content string') ;
    

提交回复
热议问题