submit a form using external js
<p>How to submit a form using external js ? using form name or id is not working,
Showing this error 
TypeError: document.forms.adminForm.submit is not a function</p>

<blockquote>
  <p>document.forms["adminForm"].submit();</p>
</blockquote>

<p>adminForm is name &amp; id of the form</p>
