Logo

Submit a Form Using JavaScript

Posted under » JavaScript on 08 June 2009

The most popular way to submit a form is by using a submit button. Next is using an image button.


You can use Javascript as a submit button too. For example, the search button on top right is triggered by a javascript function.

function carik()
{
  document.formSear.submit();
}