Reply to Re: Fake Submit button

Your name:

Reply:


Posted by Jukka K. Korpela on 06/09/07 22:02

Scripsit bermetj@NOSPAMgmail.com:

> Dorayme, thank you for suggestion, however I was more looking for a
> way to disable the Submit button's functionality while keeping it
> there.

I was almost about to reveal you the answer, but you continued foolish
upside-down fullquoting, even so that make a fool of yourself by quoting
this:

>> (Please do not top post here, I have corrected above on this
>> occasion)

Oh well, some people have already told you the answer, and I can't undo
that.

So I might just as well help _others_ who might have some legitimate reason
for creating buttons that act as local links: Using <form
action="foo.html"><input type="submit" value="link text"></form> is indeed a
simple way to achieve that. And using CSS, with form { display: inline },
you can even turn it into a text-level element in presentation.

You could alternatively use

<form action="foo.html">
<button type="submit">link text</button>
</form>

which lets you use markup inside the link text. On the other hand, <button>
is not as universally supported as <input>.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация