Re: Submit Button That Is Just Normal Text?

From: Date: Fri, 27 Oct 2000 04:40:01 +0000
Subject: Re: Submit Button That Is Just Normal Text?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22264@lists.php.net to get a copy of this message
You can use d-html to do this! like <span onClick="do();">ClickOnText</span> Jan-Eric Duden ----- Original Message ----- From: "Jason Murray" <Jason.Murray@melbourneit.com.au> To: "'Austin Carpenter'" <austinstyvek@hotmail.com>; <php-general@lists.php.net> Sent: Thursday, October 26, 2000 7:26 PM Subject: RE: [PHP] Submit Button That Is Just Normal Text? > > Does anyone know how to do a submit button that is just normal > text? > > Normal text is not a button. > > What I think you're actually asking is how to have a link on > text which submits a form - which is a JavaScript function, not > PHP. > > "<A HREF='javascript:formname.submit();'>Submit Form</A>" > should > do you, but will completely totally and utterly fail to work if > the browser does not support it / has JavaScript turned off. > > Moral of the story: Use a button. :) > > Jason > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#22264) next »