Can you use jquery to add comments dynamically to code?

前端 未结 9 1479
无人共我
无人共我 2021-01-18 05:20

I tried:


but it didn

9条回答
  •  感情败类
    2021-01-18 06:03

    To provide a more direct answer, use:

    var gonee = $('.myclass');
    $('.myclass').replaceWith('');
    

    see me in action: http://jsfiddle.net/YNe6w/1/

提交回复
热议问题