<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>htada</author_name>
  <author_url>https://blog.hatena.ne.jp/htada/</author_url>
  <blog_title>ただぶろぐ</blog_title>
  <blog_url>https://htada.hatenadiary.org/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>IE(6)の罠にはまりました。 テキストエリアで Enterキー を押すと onclick でのチェックなんて何のそので submit (onclick無視) 。 FireFox(1.5) では Enter キーでも onclick をやってくれるのにー。 あー。 教訓１ → 両方でテストしろ。 教訓２ → ブラウザの動きも考慮してテストしろ。 教訓３ → サーバー側でもちゃんと入力値チェックやっとけ。 とりあえず見つけた対策・・・ http://www.tohoho-web.com/lng/199711/97111700.htm これでいいのかな。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtada.hatenadiary.org%2Fentry%2F20060614%2F1150263632&quot; title=&quot;input type=&amp;quot;submit&amp;quot; の onclick で入力値チェック → 罠にはまった - ただぶろぐ&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>2006-06-14 14:40:32</published>
  <title>input type=&quot;submit&quot; の onclick で入力値チェック → 罠にはまった</title>
  <type>rich</type>
  <url>https://htada.hatenadiary.org/entry/20060614/1150263632</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
