Show Media Item - Javascript DOM Ready for SSL in IE
Javascript DOM Ready for SSL in IE
Wednesday, December 30, 2009
Many of the existing javascripts snippets you see on the internet to determine whether the DOM is fully loaded do not work properly in Internet Explorer when using the HTTPS secure protocol. The "normal" script is as follows and works great for HTTP but will throw unsecure item warnings in IE because it adds a script element to the page. Here is the updated script which works with both secure and unsecure connections: