Uncomment html code using javascript

后端 未结 5 1517
春和景丽
春和景丽 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:12

    Is not the right approach that you're using, it is best to hide the line by putting it to hide and show it on screen with javascript using the method show. This is the correct code:

    ABCD Logic 26538568

    When you want to display the column via javascript, use this:

    jQuery('td.td_hide').show();
    

提交回复
热议问题