IE7, removeChild and SSL

We recently launched some items into an SSL environment and an IE7 JS bug appeared when deleting a DIV. The bug is slightly difficult to debug in that all versions of IE are especially “blind” when it comes to JavaScript error handling. Here’s the criteria:

  • page is being requested in SSL mode
  • div has a background image in the form url(/path/to/image.extension)
  • the use of the removeChild function

 
Any time the specific div gets removeChild’d AND it contains a background css style, IE will prompt the user the page contains non-secure elements right before it gets removed.

To get around this, delete the background css style before calling the removeChild function. Microsoft has also released two alternate fixes.

Update: IE8 seems to be affected by another type of javascript manipulation that triggers mixed content warning.

Tags: , , , , ,
Related posts
Bookmark: Post to Del.icio.us Post to Digg Post to Google Post to Ma.gnolia Post to MyWeb Post to Newsvine Post to Reddit Post to Simpy Post to Slashdot Post to Technorati

2 Responses to “IE7, removeChild and SSL”

  1. Even more problems with the IE 8 mixed content warning - HttpWatch Blog Says:

    Kramer auto Pingback[...] Found details here: http://www.pelagodesign.com/blog/2007/10/30/ie7-removechild-and-ssl/ [...]

  2. Ie7 Removechild And Ssl = Ie7 Mixed Content Warning Pelago Web Says:

    Kramer auto Pingback[...] And An IE7 JS Bug Appeared When Deleting A DIV The Bug Is Slightly Difficult To Debug In That All Source | Related : IE7 RemoveChild And SSL IE7 Mixed Content Warning Pelago [...]

Leave a Reply