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 (660)
 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 ?    302 Yes 56 No
Sunil
 
Answer
# 2
You can use javascript to submit a form 
Is This Answer Correct ?    211 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 ?    171 Yes 41 No
Bharat
 
Answer
# 4
Using javascript
document.form.submit();
 
Is This Answer Correct ?    111 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 ?    64 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 PHP?   8
where to change in php.ini file for file uploading?   1
I just installed php 5.3.1 in my linux server and now my old work which i used to write with tags is not working at all.. Please help me out.. How can i resolve this??   1
How can we know the number of days between two given dates using PHP? HCL 8
What are the differences between PHP3 and PHP4 versions?   1
What is the PHP predefined variable that tells the What types of images that PHP supports?   1
i want to need upload above 100mb file,i was successfully upload 75mb using .htaccess file ,but i can put 101mb file,it was not upload..please give some tips..local server its work perfectly but online it doesn't work.. .htaccess file details AddHandler application/x-httpd-php .php php_value post_max_size 200M php_value upload_max_filesize 200M php_value memory_limit 300M php_value output_buffering on php_value max_execution_time 259200 php_value max_input_time 259200 php_value session.cookie_lifetime 0 php_value session.gc_maxlifetime 259200 php_value default_socket_timeout 259200   1
What are the difference between include_once & Require_once?   2
when we select some checkboxes and we went for next page if we came back to prevoius page the selcted checkboxe should be checked   2
hello myself Atul saini completed mca in 2007 due to personal problem i cant do job.now i really search 4 a job.i dont know where i go i think simple think is learn php anyone help me wat i can do for a job. thanks   4
hello experts good morning to everyone ! at present am now learning LAMP course sir( linux, apache,mysql and php) after finishing this course can i create my own website without investment is it possible ? please can any one tell sir and also tell me how can i upload my project after finishing the project in internet ? please tell the ways sir please send ur valuable suggestions to kiranpulsar2007@gmail.comcom   1
How to install PHP with --mcrypt and --mhash?   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