<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>panda_noir</author_name>
  <author_url>https://blog.hatena.ne.jp/panda_noir/</author_url>
  <blog_title>Panda Noir</blog_title>
  <blog_url>https://www.pandanoir.info/</blog_url>
  <categories>
    <anon>プログラミング・パソコン</anon>
  </categories>
  <description>jQueryにはいつもお世話になっているのですが、今回は罠にはまってしまったので注意を促すのと忘れないように書きたいと思います。(jQueryのせいじゃない?) 私は、この前、約分器を作っていて、結果を表示するのにinputを使っていました。 しかし、そのinputのタイプがナンバーになっていたのです。もちろんinputがナンバーなので数値以外は代入できないにもかかわらず、そこに文字列を表示させるため代入しようとしたのです。 もちろん文字列なので代入に失敗し表示されないはずでした。 しかし、作っていたのが約分器だったので、割り切れるものは当然数値のため、きちんと表示されてしまったのです。 表示…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pandanoir.info%2Fentry%2F2012%2F07%2F10%2F182031&quot; title=&quot;inputタグの罠… - Panda Noir&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>2012-07-10 18:20:31</published>
  <title>inputタグの罠…</title>
  <type>rich</type>
  <url>https://www.pandanoir.info/entry/2012/07/10/182031</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
