How to get the innerHtml, including the tag, using jQuery?

后端 未结 4 652
心在旅途
心在旅途 2021-01-02 06:45

Sorry, if the title is too obscure ;D.

Actually the problem is, lets say i am this code.


   

        
4条回答
  •  离开以前
    2021-01-02 07:18

    You can copy the node to a new empty node, ask for new .parent() and then its .html()

提交回复
热议问题