Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me

How can we submit form without a submit button?
(1 viewing) (1) Guest
All your queries regarding
PHP Installation,
Binding Apache-PHP-MySQL,
and tonnes more... will be solved in this forum
  • Page:
  • 1
TOPIC:

How can we submit form without a submit button?

How can we submit form without a submit button? 1 year, 8 months ago #197

  • patrica
  • OFFLINE
  • Junior Boarder
  • Posts: 28
  • Karma: 0
How can we submit form without a submit button?

Re:How can we submit form without a submit button? 1 year, 8 months ago #202

  • nikhil
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Karma: 1
We can use a simple JavaScript code linked to an event trigger of any form field.

In the JavaScript code, we can call the document.form.submit() function to submit the form.

For example: <input type=button value="Save" onClick="document.form.submit()">
  • Page:
  • 1
Time to create page: 1.71 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download