How can I set the text of a DIV that's specified with a jQuery variable?
<p>I have the following:</p>

<pre><code>var oLink = {
        $modal: '',
        $message: ''
    }

oLink.$message = oLink.$modal.find('.message');
</code></pre>

<p>I tried to set the text of this variable like this:</p>

<pre><code>oLink.$message.Text("Contacting Server, please wait ... ");
</code></pre>

<p>but it gives an error message saying undefined even though the debugger says the oLink.$message is an HTMLDIVelement. The element with the class of .message is a DIV. How can I set the text inside of the DIV?</p>
