SQL PHP HTML ASP JavaScript articles and free scripts to download
HTML Buttons . Web Form

Submit Button

Submit buttons have a special purpose. i.e, when the submit button is clicked, then the form will be submitted to the page specified in the action attribute of the form tag along with its data.
Submit button can be created as :
<input type="Submit" name="<Name of the submit button >" value="valueof the button">

Attributes of Submit Button:

Name: Specifies the name of the object through which it can be referenced.
value: Specifies the value of the submit button. this will be displayed on the submit button.

Example:

<input type="submit" name="submitbtn" value="Submit">
This places a submit button within the HTML form, which can be referenced by using its name "submitbtn"
The submit button will be displayed as below:


How to submit form to a new window and using two submit buttons in one form

Read how form validation is done by using Javascript

Reset button of a Web form

Be the first to post comment on this article :


Google+
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked



HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer