<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomotomo1129</author_name>
  <author_url>https://blog.hatena.ne.jp/tomotomo1129/</author_url>
  <blog_title>Web開発における知見共有系ページ</blog_title>
  <blog_url>https://job-info.hateblo.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>jQuery</anon>
    <anon>appendとappendTo</anon>
    <anon>DOM操作</anon>
    <anon>要素追加</anon>
  </categories>
  <description>append()とappendTo()は同じ動きではありません 誰が主体のメソッドなのか 戻り値の違いが重要 複数要素に追加したときの挙動 DOMの本来の動き よくある混乱 どちらを使うべきか パフォーマンスの差はあるのか 注意点：イベントの消失 まとめ append()とappendTo()は同じ動きではありません jQueryで要素を追加するとき、次の2つの書き方があります。 $('#list').append('&lt;li&gt;Apple&lt;/li&gt;'); $('&lt;li&gt;Apple&lt;/li&gt;').appendTo('#list'); 画面結果は同じです。だから「どっちでもいい」と思われがちです。し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjob-info.hateblo.jp%2Fentry%2F2026%2F02%2F11%2F193311&quot; title=&quot;jQueryのappend()とappendTo()の違い - Web開発における知見共有系ページ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-11 19:33:11</published>
  <title>jQueryのappend()とappendTo()の違い</title>
  <type>rich</type>
  <url>https://job-info.hateblo.jp/entry/2026/02/11/193311</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
