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
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:
[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
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,
[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
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()
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
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
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
9 matches
Mail list logo