Javascript creating references to native functions
<p>I have written this code (this is a snippet) that doesn't seem to be working. I have isolated it to here.</p>

<pre><code>grab = window.document.getElementById;
grab("blueBox") // i.e. grab("blueBox").onclick [...]
</code></pre>

<p>Is it possible to create references to native function in javascript. I am doing something with the grabbed element, I just left it out for example. The grab function doesn't seem to work.</p>

<p>I am using FireFox's most recent version</p>
