title: How to call a javascript function from a table in HTML
body: <p>I'm new to Javascript and HTML. Now, I'm using HTML  to display a time retrieved from XML file. Below is the HTML tags.</p>
  
  <pre><code>&lt;tr&gt;
    &lt;th&gt;Date of Birth: &lt;/th&gt;
    &lt;td&gt;{{dob}}&lt;/td&gt;
  &lt;/tr&gt;      
  </code></pre>
  
  <p>This will display the date in yyyy-mm-dd .i.e date will be displayed as 2012-03-12 I want this to be displayed as 12 Mar 2013. I used moment.min.js but was not successfull. I don't know how to call a javascript function from  tags and get the date displayed accordingly.</p>