Re: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-17 Thread John Herren
If you do this, make sure you name your submit button Submit or something else, but not submit :) Shaunak Kashyap wrote: Yes, you can use elementary javascript to achieve that goal. Just make a link (anchor) as you normally would and make the value of its href attribute

[PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Scott Fletcher
Hi! I'm wondering if there is such a thing as an alternative to the HTML submit button that would instead look like an anchor and yet act like a submit with POST action. Just wondering... Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Jay Blanchard
[snip] I'm wondering if there is such a thing as an alternative to the HTML submit button that would instead look like an anchor and yet act like a submit with POST action. Just wondering... [/snip] You can do it with an image. http://www.w3.org/TR/html4/interact/forms.html#h-17.4 Google

RE: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Shaunak Kashyap
Yes, you can use elementary javascript to achieve that goal. Just make a link (anchor) as you normally would and make the value of its href attribute javascript:document.formName.submit() where formName is the name of the form you wish to submit. As with a lot of client-side scripting languages,

RE: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Jay Blanchard
[snip] You can do it with an image. [/snip] Dang! I was thinking picture of an anchor. Monday afternoon brain freeze! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Scott Fletcher
Impressive :-) Thanks... Shaunak Kashyap [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes, you can use elementary javascript to achieve that goal. Just make a link (anchor) as you normally would and make the value of its href attribute javascript:document.formName.submit()

Re: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Scott Fletcher
Not a problem!! :-) I had a morning brain freeze until lunch. Thanks... Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] You can do it with an image. [/snip] Dang! I was thinking picture of an anchor. Monday afternoon brain freeze! -- PHP General Mailing List

Re: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Marek Kilimajer
Scott Fletcher wrote: Hi! I'm wondering if there is such a thing as an alternative to the HTML submit button that would instead look like an anchor and yet act like a submit with POST action. Just wondering... Scott F. Instead of javascript and image magic, I would style the button to look

Re: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Marek Kilimajer
Scott Fletcher wrote: Hi! I'm wondering if there is such a thing as an alternative to the HTML submit button that would instead look like an anchor and yet act like a submit with POST action. Just wondering... Scott F. Instead of javascript and image magic, I would style the button to look