what are the differents between 'action' and 'target' in
form tag?
Answers were Sorted based on User's Feedback
Answer / ram
Action:
Action attribute specifies where to send the form-data when
a form is submitted.
Syntax: <form action=”value”);
Example: <form name="email_check" method="post"
action="formValidation.php">
Target:
The target attribute specifies where to open the action URL.
Syntax: <form target="value">
Value:
_blank – open in new window
_self- Open in the same frame as it was clicked
_parent- Open in the parent frameset
_top- Open in the full body of the window
Framename- Open in a named frame
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / sherin
action means the url to be executed when the form submits .
If the form is to be submited through iframe the target tag
specifies the name of the iframe .
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / sujendra kumar
<form action="target"> ... </form>
ACTION attribute. This is a required attribute. This
attribute specifies where the data collected by the form is
to be sent. The destination could be an email address, e.g.,
action="mailto:BillG@lunix.net"; a URL, e.g.,
action="../index.htm"; a CGI script on your web server,
e.g., action="/cgi-sys/formmail.pl"; or an Active Server
page that will process the data, e.g.,
action="mysearch.asp", to name a few possibilities. This is
the one truly complicated issue concerning forms, and will
be addressed below in its own section.
| Is This Answer Correct ? | 4 Yes | 5 No |
Which is variable cost?
code to see the priview of the image which is being uploaded (after browising the image... just click priview ... how it will be visible...before uploading)
Explain what does $_files means?
Write an example to remove html tags from a string in php?
Do you know what does $globals means?
What are examples of independent and dependent variables?
1.Where are the cookies storing ? 2.What is the drawback of using cookies ? 3. If two site is having same cookie name and different values what will be the output if we echo the cookie name from those sites ? How can we solve this issue (How can we specify the domain name)?
How cookies are transported from servers to browsers?
what do you mean by webserver's document root?
How to track no of user logged in?
Write a program in php to print a table of a number?
What is variable function php?