Development| HTML| JavaScript| Questions?

Hot Searches
struts-config.xml  web.xml  Java date format  read/write text file using javascript  ArrayList  Insert Data into Database Using Hibernat  create text file using java  insert data to text file using java  Visual Basic Date and Time Display the t  Create table and insert data by sql quer 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments

Action Submit Html

                         

Action Submit in Html is used to submit a form, When a user clicks on a submit button, the form is sent to the specific address in the action setting of the <form> tag.

Understand with Example

The Tutorial Illustrates an example from Action Submit Html.In this tutorial, we explain you a code, which helps you in creating a textfield and a submit button. When an user enter some text in the text field User name) and clicks the submit button the input goes to a page called submit. asp which will further process it. Here this has not been done because ASP is a server side programming.

1) name :The name is an internal setting, which give an internal name to the button. The program identify the name and on the basis of name, it handles the form doesn't confuse the button with the other fields.

2)value :This is used to specify the text written on the button.

<form name="input" action="submit.asp" method="get">
User name:
<input type="text" name="user">
<input type="submit" value="submit">
</form>

The html code is saved with .html extension. Paste the path of html code into url of your browsers. Finally the output of code is displayed as-

Output

User name:

 

Download

                         

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Tell A Friend
Your Friend Name

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.