[thelist] Submitting a form with javascript

John Corry lists at neoncowboy.com
Sun Nov 2 21:39:04 CST 2003


Yeah, sorry...my mistake:

<script language="javascript" type="text/javascript">
	function updateit()
	{
		window.document.updateform.submit()
	} // end function 
</script>

<a href="#" onClick="updateit();">update availability</a>

<form action="/admin/update_form.php" method="post" name="updateform"
id="updateform">

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Damien COLA
Sent: Sunday, November 02, 2003 5:36 PM
To: thelist at lists.evolt.org

must be incorrect name="update" instead of name="updateForm"

-----Original Message-----
And when I click the link, the mozilla javascript console tells me:
Error: window.document.updateForm.submit is not a function Source File:
http://nishiyama.localhost.com/admin/update_form.php#
Line: 18

--
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester and archives
of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list