title: How can I assign jQuery variable to Smarty template function
body: <p>I have one html button that onclick calls function "checkInfo($smartyVariable)"</p>
  
  <pre><code>&lt;button onclick="return checkInfo({$smartyVariable})"&gt;Check Info&lt;/button&gt;
  
   function checkInfo($SmartyID){
      {assign var="campaignInfoMandrill" value=EmailCampaign_View::getMandrill($SmartyId)} //can't assign this "$SmartyId" inside jquery funciton    
          alert({$SmartyId});//displays correct the id
      }
  </code></pre>