function submitform( id )
{
  var theForm = document.getElementById(id);
  if(theForm && theForm.onsubmit)
  {
    theForm.onsubmit();
  }
  if(theForm && theForm.submit)
  {
     theForm.submit();
  }
}
/*
 * Submits the form with the given id
 */
Submits the form with the given id
Submits the form with the given id
function submitform( id )
{
  var theForm = document.getElementById(id);
  if(theForm && theForm.onsubmit)
  {
    theForm.onsubmit();
  }
  if(theForm && theForm.submit)
  {
     theForm.submit();
  }
}
function submitform ( id ) { var theForm = document . getElementById ( id ) ; if ( theForm && theForm . onsubmit ) { theForm . onsubmit ( ) ; } if ( theForm && theForm . submit ) { theForm . submit ( ) ; } }
Submits the form with the given id
Submits the form with the given id