Jquery difference in HTML () and append () of

It is simply append () method is to add an element in the element list, but html () is replaced with the data element.

If you need to do to change pages, navigation of such best use html () method

https://blog.csdn.net/tfy1332/article/details/21383781

Guess you like

Origin www.cnblogs.com/zwn-lucky7/p/11105884.html