Submit Button

How can we submit a form without a submit button?

Questions by eselwyn

Showing Answers 1 - 12 of 12 Answers

sandesh27

  • May 15th, 2008
 

You can submit a form without submit button in following ways:

1. On onclick event of a label you can call a javascript function in which you can submit
    a form using document.forms[0].submit();

2. On body load i.e. onLoad function in body tag you can call a javascript function which
    will submit the form as in the first case.

3. You can use XmlHTTPRequest object (AJAX) to submit a form.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions