Javascript getter method
<p>I have a javascript getter method like so:</p>

<pre><code>function passTags()
{
var tags = document.getElementById('tags').value;


    this.getTag=function()
    {
        return this.tags;
    }
}
</code></pre>

<p>How do i call it? </p>
