title: how to assign a javascript variable to a smarty variable
body: <p>I got a problem regarding how to assign a java script variable to a smarty variable. Here is the code snippet.</p>
  
  <pre><code>function getDateInfo(date, wantsClassName)
  {                  
      var as_number = Calendar.dateToInt(date); //This as_number is the variable which should be assigned to smarty variable    
  }
  </code></pre>
  
  <p>How can i accomplish this.</p>
  
  <p>any help will be appreciated..</p>
  
  <p>Thanks n advance -- Fero</p>