Access function inside CDATA
<p>I have the following code in my ASP.net application js:</p>

<pre><code>//&lt;![CDATA[

function GetQuestionErrors() 
{
//Some code 
}
var myclientvariable=null;
//]]&gt;

function calValue()
{
var data=GetQuestionErrors();//Registered function in code behind C#
}
</code></pre>

<p>When control comes to  <code>var data=GetQuestionErrors();</code> it throws an error 'Object expected'. Please assist me to solve this issue.</p>
