title: Calling java script function automatically using form
body: <p>I have a java script function that i need to call over and over again in order to test it, so i wrote a form that allows me to call the function, i have to do this manually and need a way to call this function without user input. all that needs to go to the upload file is a number and some text, (ex 1     Thank you)  </p>
  
  <pre><code>&lt;script src="yo.js"&gt;&lt;/script&gt;
  &lt;!DOCTYPE html&gt;
  
  &lt;html&gt;
  &lt;body&gt;
  &lt;form action="uploadFile" method="post"&gt; 
    &lt;input type="text" name="filename" &gt;  
    &lt;input type="text" name="fileData"&gt;
    &lt;input type="submit"&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>