Client-side scripting
<script>
function submitForm {
document.forms[0].submit();
}
</script>
For more information see Selfthtml javascript Object Referenz forms!
-----Ursprungliche Nachricht-----
Von: Jonathan McNeil [mailto:juronimo@y...]
Gesendet: Freitag, 27. April 2001 01:05
An: javascript
Betreff: [javascript] Submit form without a submit button
Does anyone know if it is possible to submit a form
using javascript without having a submit button?
What I'm trying to do is to create an .asp page that
is invisible to the user that contains hidden fields.
I want the form to be submitted to another page so
that the page can get the information in the invisible
page. In order to submit the page without a button,
would an onsubmit or a window.onload (or something to
that affect) function be used?
Thanks in advance
Jonathan