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.
ロード イベント ハンドラー関数内で iframe のコンテンツのコンテンツ タイプを取得する方法はありますか?
私はこれがjqueryを使って仕事をするべきだと思います
$('iframe').contents().contentType
load イベントでは、これは iframe dom を指す必要があります。
$(this).contentType
動作するはずです