Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: AW: Submit form without a submit button


Message #1 by "Ebers, David" <David.Ebers@o...> on Fri, 27 Apr 2001 06:48:28 +0200
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



  Return to Index