Re: Subject: String as submit
| From: | Neil Smith | Date: | Mon, 18 Nov 2002 09:33:21 +0000 |
| Subject: | Re: Subject: String as submit | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17001@lists.php.net to get a copy of this message | ||
Hello -
When you mean 'string as submit' do you refer to using a link ... <a href=....> ?
Either use a form element called "image"
<input type="image" name="submit" value="submit" src="image_source_url">
or use javascript to send the form
<a href="#" onClick="document.forms.formname.submit()">Submit form</a>
Where formname is what you put in the name / ID of your <form> element.
This is all really basic HTML though - why are you posting it to a PHP newsgroup???
Regards,
Neil Smith.
At 08:17 18/11/2002 +0000, you wrote:
Message-ID: <20021118081741.84817.qmail@pb1.pair.com> To: php-windows@lists.php.net From: "Rodrigo San Martin" <rodrigo@stud.ntnu.no> Date: Mon, 18 Nov 2002 09:19:05 -0800 Subject: String as submit hi. I want to use a sting as a submit button. Can I do that, and how? ------------------------------------------ Rodrigo San Martin Institutt for datateknologi og informatikk http://www.idi.ntnu.no/~rodrigo