1 Hour SEO : Domain Registration Bank : Ecommerce Dictionary : GoDefy : Great Web Design Tips
JavaScript 2 : Jumbo Keyword : Marketing Tips Store : Michael Wong Blog : Mike's Marketing Tools
Search Engines 2 : SEO eBook : Text Links Ads : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML > Forms > <BUTTON ...>

Attribute for <BUTTON ...>
TYPE =BUTTON |SUBMIT |RESET

TYPE indicates that the button is one of three types:

This code:

<FORM ACTION="/cgi-bin/html/mycgi.pl" NAME="application">
application date: <INPUT TYPE=TEXT NAME="appdate" SIZE=10>
<BUTTON
TYPE=BUTTON
onClick="document.application.appdate.value=today()"><I>today</I></BUTTON><P>
<BUTTON TYPE=RESET><FONT COLOR=RED>Reset Form</FONT></BUTTON>
<BUTTON TYPE=SUBMIT><STRONG>Send It!</STRONG></BUTTON>
</FORM>

gives us this form (you can also see the today() script in this page):

application date:

<BUTTON onClick="..."> >>>

          

Copyright © 2002-10 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com