Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • see here jsperf.com/native-appendchild-vs-jquery-append/4 Commented Apr 10, 2013 at 12:51
  • One is a jQuery method, the other is a native JS method, they both do pretty much the same thing, but append() accepts multiple elements. Commented Apr 10, 2013 at 12:51
  • The bottom is using a library (e.g. the commonly referenced jQuery), the top is using "native" DOM methods to append the element. Commented Apr 10, 2013 at 12:51