call a function in jquery namespace from outside the jquery namespace
<p>here is the code</p>

<pre><code>test ('e');
function test(e) {
    test2(e); //undefined
}

(function ($) {
    function test2(e) {
        alert('test');
    }
})
</code></pre>

<p>Because of something restriction, i have to call like this. Anyone knows?</p>
