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 (252)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (176)
 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 ?    297 Yes 56 No
Sunil
 
Answer
# 2
You can use javascript to submit a form 
Is This Answer Correct ?    207 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 ?    169 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 35 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 10 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 24 No
Mohit.c.mehta
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
What is the full form of PHP? APPLE 15
For printing out strings, there are echo, print and printf. Explain the differences.   3
How to apply Cake php ajax pagination?   1
How can we extract string ‘abc.com ‘ from a string info@abc.com" target="_blank">http://info@abc.com using regular expression of php?   6
Version of php, apache ,mysql   1
How can you "tell" MySQL server to cache a query?   2
describe arguments in header in php?   1
How can we increase the execution time of a PHP script? Photon 12
I am working in VFP with no knowledge of web programming.I want to learn web database programmin. Can I choose PHP and MYSQL for that?   2
How can we know the count/number of elements of an array?   1
Is it necessary to use closing tag in php?sometime without closing tag things work.why? ShopRite 2
What are the Merits and De-Merits of CURL library ?   1
 
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