[prog] PHP and cancel buttons

Teri Solow tsolow at terisolow.com
Tue Jun 29 09:34:22 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(D'oh!  I meant to send this to everyone)

Sue Stones imparted (2004-06-29 @ 22:35:50 +1000):
> If I do need javascript do I need to write a function or can I call some
> built in functionality.  I think that all I need to do is go back to
> the previous screen.

I'm not positive, but I believe you can do something like this
(if this is indeed what you are trying to do):

	<form method="post" action="" onsubmit="history.back(1)">
		<input type="submit" value="Cancel">
	</form>

- --
(n_	Teri Solow
//\	http://terisolow.com
V_/_
                           
Suffocating together ... would create heroic camaraderie.
		-- Khan Noonian Singh, "Space Seed", stardate 3142.8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA4W/eCRjPPiFbVe8RAt9zAJ9PLEeBo5GK8KdVxFSKrlwbKDiJPQCg73sg
ki7y4To9S3BZWqURQGrozu0=
=6/Jd
-----END PGP SIGNATURE-----


More information about the Programming mailing list