Uncomment html code using javascript

后端 未结 5 1545
春和景丽
春和景丽 2020-12-31 15:51

Html tables with some commented tags. i just wanted to uncomment those tags. I have tried regex using javascript but problem is it removes entire commented line where as i

5条回答
  •  悲&欢浪女
    2020-12-31 16:18

    So you need to do find and replace, for example something like that:

    $("body").html($("body").html().replace('
         
     
    热议问题