本日も jQuery の小ネタメモ。 いわゆるLightbox風のインターフェイスが流行している影響で、インラインフレーム(に見えないUIだけど)内のウィンドウから、呼び出し元である親ウィンドウの要素を操作する、という処理は多用する機会が増えたなあ、という印象がありますね。 親ウィンドウの要素を操作する時は、 parent.$("#id").addClass('ClassName'); とか、 parent.$("p").html('カラオケ行きたい。'); とか、まあ普通の JavaScript と同じように parent で親ウィンドウを指定すればOKです。 Twitter始めました。Followはお気軽にどうぞ。 関連するブログ記事 『web制作現場ですぐ役立つ jQuery実践講座』の講師をします【8/4・11(土) 神戸・カフーツ】 [2012年7月30日 15:57] 『Web