---
title: "IE6 throws security warning when show/hide an iframe"
author: "lerluc"
date: "2010-02-04T16:07:18Z"
tags: ["HTML", "Security"]
categories: ["Web前端"]
slug: "ie6-throws-security-warning-when-show-hide-an-iframe"
draft: false
lastmod: "2010-02-04T16:07:18Z"
id: 587594
url: "https://lerluc.iteye.com/blog/587594"
---

\[code="html"] $('iframe').show() $('iframe').hide() \[/code] \[code="html"] $('iframe').width(width).height(height) $('iframe').width(0).height(0) \[/code]