FIX: Internet Explorer Cannot Open the Internet Site- Operation Aborted This program cannot display the webpage in IE7

As described here, this error most probably arises, when a script on your pages attempts to modify an element, that is not (yet) in the DOM or is a parent of the current element. Oh, and when viewed in IE7.

In my case, this error was triggered by trying to execute a jQuery extension-method, before the DOM was loaded. Or to cut directly to the chase: the call to the custom extension was not wrapped in the $(document).ready(function() { … }) thingie.

So, instead of this:

use this:

In general, you should never assume, that your DOM is ready by trying to bind any behaviour outside the $(document).ready block.

Start the conversation