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 (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 ?    296 Yes 56 No
Sunil
 
Answer
# 2
You can use javascript to submit a form 
Is This Answer Correct ?    206 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 ?    167 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 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 can we extract string ?allinterview.com ? from a string ?http://info@allinterview.com? using regular expression of PHP?   6
am fresher in php ..am finished my linux,apache,mysql,and php(LAMP) course please can any one tell openings for freshers in php ...And please tell how much i demand as a fresher in PHP field just say approximately or assumption ..? at present am staying in chennai am looking my job in chennai only or else in bangalore ... hello experts please answer this question ? HCL 2
How can I reset an array in PHP? Rushmore-Consultancy 4
How about integrating an iKode Newsletter Server at my independent Wordpress blog site? I just wanna visitort can subscribe my blog when they like it and I can send some interested articles or events to them regularly to establish good relationship. iKode 1
how much a fresher php programmer can earn in india   5
What can I do by cakePHP?   4
In How many ways can u represent Not equal?Give Syntax of all ways..   3
How to upload a file (may be a .txt or a .doc file) from a php script/file?   1
display selected value in dropdown list through javascript without page refresh   1
How are Variables Defined in PHP? T3-Softwares 6
How can you count number of parameters given in a URL by POST method?   5
what is "mysql_pconnect", i know mysql_connect but what it is pconnect is their?   2
 
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