How to create a FORM in the html to submit the data by the JAVASCROipt code example Example: how to submit a form in js document.forms["myform"].submit();