<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bradtos</author_name>
  <author_url>https://blog.hatena.ne.jp/bradtos/</author_url>
  <blog_title>bradtosのWEB開発日記</blog_title>
  <blog_url>https://bradtos.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>フォーム付きの画面を作っていて、 テキストボックスだけど手入力不可能にして例外処理を減らしたい場合、 ユーザーに選択肢を与えてそれを選ばせる方法が一般的。 その方法の一つとして、showModalDialog()を使うと alert()やconfirm()のようなノリで html(phpやpl、jspももちろんOK)をモーダル表示させることができる。 しかもちゃ〜んと親画面から子画面に引数を渡せるし confirm()のように子画面で戻り値を設定して親画面から取得することもできる。 実践的で的確な情報が少なかったので自分なりに使う際のまとめを。 ●呼び出す側（親画面）では以下のように記述。 r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbradtos.hatenadiary.org%2Fentry%2F20090317%2F1237276212&quot; title=&quot;技術情報：JavaScript showModalDialog() - bradtosの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>2009-03-17 16:50:12</published>
  <title>技術情報：JavaScript showModalDialog()</title>
  <type>rich</type>
  <url>https://bradtos.hatenadiary.org/entry/20090317/1237276212</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
