ついでなので。 こちらもサンプルソースを見ると、 HTMLはただdialogってidでdiv作っておいて、 <div id="dialog" title="Basic dialog"> <p>ここに中身</p> </div> JavaScript側はこんだけ。 $(function() { $( "#dialog" ).dialog(); }); そっけないなあ。 ドキュメントのoptionsとか見ても皆目見当が付かない。 ただやはりこれも同じHTMLのソース(テンプレ)の中にダイアログ用のソースをどんどん書いていくと、ごちゃごちゃになってくる。 1個、2個くらいならいいとは思うが。 ということで調べてみると、 Loading a page into a dialog こういう記事があり、やり方はあることが分かった。 jqueryでまず一発 div を生成し、そこに .load() で別フ