<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>BG1</author_name>
  <author_url>https://blog.hatena.ne.jp/BG1/</author_url>
  <blog_title>車輪のx発明 ~B.G's Blog~</blog_title>
  <blog_url>https://bg1.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>HTMLは、id属性でそのタグを一意に識別するIDを割り振れる。 Document.getElementByIdは、指定されたidのタグ要素(Element)オブジェクトを取得する。ドキュメントオブジェクトモデル（DOM） - とほほのWWW入門それが出来れば、あとはvalueで値を取得できる。text1, button1とidを振って、button1がクリックされたら、text1の値を取得してalert表示。 もうabcdeがセットしてあるもうabcdeがセットしてある。 button1を押すと、 こう出るこう出る。 xyzに変えてもxyzに変えても、 こう出るこう出る。Sample/js/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbg1.hatenablog.com%2Fentry%2F2021%2F11%2F07%2F210000&quot; title=&quot;Document.getElementById - 車輪のx発明 ~B.G&amp;#39;s Blog~&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>https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20210709/20210709111459.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-11-07 21:00:00</published>
  <title>Document.getElementById</title>
  <type>rich</type>
  <url>https://bg1.hatenablog.com/entry/2021/11/07/210000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
