title: how to call a function returning value in jquery template
body: <p>i have a template as below</p>
  
  <pre><code>&lt;script id="ActionTemplate" type="text/x-jquery-tmpl"&gt;     
    &lt;tr&gt;
      &lt;td&gt; &lt;a href="#" OnClick="setActionId(${action_id}, ${project_id}, ${merchant_id}, ${channel_id}, ${customer_id})" &gt;${action_id}&lt;/a&gt;&lt;/td&gt; 
      &lt;td&gt;${priority} &lt;/td&gt;
      &lt;td&gt;${date_to_display} &lt;/td&gt; 
      &lt;td&gt; ${date_from}&lt;/td&gt; 
      &lt;td&gt;${action_title} &lt;/td&gt;      
      &lt;td&gt; ${status()} (${percentage_completed}%)&lt;/td&gt; 
      &lt;td&gt; ${hours}&lt;/td&gt; 
      &lt;td&gt;${contactFrom} &lt;/td&gt;
      &lt;td&gt;${contactTo} &lt;/td&gt; 
    &lt;/tr&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>in above <code>${status()}</code> calls the function status which returns a string like this</p>
  
  <pre><code>&lt;script type="language/javascript"&gt;
    function status(){
      return "some_string";
    }
  &lt;/script&gt;
  </code></pre>
  
  <p>my problem is i hav to send a value from template where the status function is called..value like <code>${action_status}</code>...</p>
  
  <p>all the values that are in the template like <code>${priority}</code>,<code>${hours}</code>,etc are binded to template in a pagemethod...</p>
  
  <p>need a solution</p>