Javascript - property or method register not supported
<p>The javascript below is written in the body of a document in an iframe.</p>

<pre><code>function pageLoad(sender, args)
    {
        //Register the form and upload elements
        window.parent.register(
            $get('form'),
            $get('fileUpload')
        );
    }
</code></pre>

<p>When the page is run the error message - Microsoft JScript runtime error: Object doesn't support property or method 'register' - appears.</p>

<p>This is taken from someone else's example code - oddly, it ran the first time but not since.</p>
