Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
親の関数を時々呼び出す ifrmaes がいくつかあります。親と呼ばれるフレームを知るにはどうすればよいですか?
どの関数が自分の関数を呼び出しているかを調べるには を使用できますがarguments.callee、ここでは機能しません。
arguments.callee
調べるには、iframe にタグを付け、そのタグを関数呼び出しと共に渡す必要があります。