title: Help in calling a javascript function from php or html
body: <p>This might be simple to someone, but I am a bit of a novice and searched everywhere. I have a javascript function. </p>
  
  <pre><code>mkfile : function(fm) {
  </code></pre>
  
  <p>I am trying to execute this from an on click command. </p>
  
  <p>Any ideas. Sorry Im a bit of a dunce in this, but I have tried everything and nothing happens.</p>