javascript call function from php file! (using yii)
<p>I'm trying to call a function in a .js file from the php page where I'm displaying it!</p>

<p>What I want to do is something like this:</p>

<p>.php file: </p>

<blockquote>
<pre><code>...
function testFunc(){
  return "2";
}
...
</code></pre>
</blockquote>

<p>now I want to call this function inside the .js file!</p>

<p>Thaks in advance for your help</p>
