ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Scripts >> PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions (659)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (175)
 VB Script interview questions  VB Script Interview Questions (343)
 JSP interview questions  JSP Interview Questions (100)
 Shell Script interview questions  Shell Script Interview Questions (158)
 Python interview questions  Python Interview Questions (5)
 Tcl interview questions  Tcl Interview Questions (19)
 Awk interview questions  Awk Interview Questions (6)
 AJAX interview questions  AJAX Interview Questions (24)
 Ruby on Rails interview questions  Ruby on Rails Interview Questions (21)
 Scripts AllOther interview questions  Scripts AllOther Interview Questions (48)
Question
How can we submit a form without a submit button?
 Question Submitted By :: PHP
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
You can submit a form through many diffrent ways without
submit button.

-Submit a form by clicking a link
-Submit a form by selecting a option from drop down box using
onchange event
 
Is This Answer Correct ?    294 Yes 56 No
Sunil
 
Answer
# 2
You can use javascript to submit a form 
Is This Answer Correct ?    204 Yes 29 No
Mauzzam
 
 
 
Answer
# 3
we can click the image or text link.

for example:

<script>
function formsubmit()
{
document.form1.action="Page Name here you want to go that
page";
document.form1.submit();
}
</script>

<form name="form1" method="post">
<a href="#" onclick="formsubmit();">Click here</a>
</form>
 
Is This Answer Correct ?    164 Yes 40 No
Bharat
 
Answer
# 4
Using javascript
document.form.submit();
 
Is This Answer Correct ?    108 Yes 18 No
Md Raisul Azam
 
Answer
# 5
if u want to submit a form without a submit button is simple
in JavaScript u just use a Function "document.form.submit();"
ok. try it now
have a nice day
good bay.. :-)
 
Is This Answer Correct ?    62 Yes 8 No
Sagar_joshi
 
Answer
# 6
WE Can Submit a form without using Submit Function.With the
help of JavaScript Function "document.form.submit();"
 
Is This Answer Correct ?    63 Yes 15 No
Kiran Kumar
 
Answer
# 7
just use imagelink or you can use vb script for doing this job. 
Is This Answer Correct ?    65 Yes 34 No
Adnan Arif
 
Answer
# 8
We can also use ajax in code through which we can directly
submit by Onchange or any other event...
 
Is This Answer Correct ?    25 Yes 11 No
Nilesh
 
Answer
# 9
In PHP, form can be submitted with simple code:
'header("location:page.php");'
 
Is This Answer Correct ?    17 Yes 9 No
Prakash
 
Answer
# 10
<form id="form1" name="form1" method="post" action="mm.php">
<INPUT TYPE="IMAGE" SRC="images/any_image.gif" ALT="Submit
button">

</form>
 
Is This Answer Correct ?    29 Yes 23 No
Mohit.c.mehta
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
How to create the PHP Script to Calculate the Age Using the Inputs Of our Birth date and the Current date?   6
How can we know the number of days between two given dates using PHP? HCL 8
what is the default session expire time in php? what is default file attachment size in mail in php?   3
What is the difference between Joomla and Drupal? T3-Softwares 8
•How to access crystal reports through PHP code? Satyam 1
What are the reasons for selecting lamp (linux, apache, mysql, PHP) instead of combination of other software programmes, servers and operating systems?   3
hi recently i had faced an interview in that they asked me that php have faced the problem of y2k so which one is that year like 2030,2059 not remember exact year anybody will tell me pls?   1
What are the differences between public, private, protected, static, transient, final and volatile?   3
How can I know that a variable is a number or not using a JavaScript?   2
What is the difference between $message and $$message ? Oracle 7
how to upload more than 50 mb? i tried but session was expired....certain time .....i was set session duration three days .... how to rectified? if any one know that post ur answer as soon as possible? thanks   1
What is indexing in mysql and how do we create indexing in mysql   4
 
For more PHP Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright © 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com