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 (658)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (174)
 VB Script interview questions  VB Script Interview Questions (342)
 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 ?    293 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 ?    16 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
 
What do you mean by design patterns (php) ? NIIT 1
how to maintained the session from one page to another page based on the url and then entered into the first page is logging into instead of secondpage it goes to the another url.ie first login session togoes to the one url and next login session it goes to another url how is it possible in php please give me answer in that question iCynergy 1
What is Joomla? T3-Softwares 5
Version of php, apache ,mysql   1
what is the default session expire time in php? what is default file attachment size in mail in php?   3
what is constructor in a class, how it is work, how it is call?   2
i was set new individual folder for saving session values,the folder name is session and i set 777 permission,using session.save_path function like session.save_path "/home21b/sub004/sc21311-ULCX/candyoflove.com/session/" but it causing Warning: Unknown(): SAFE MODE Restriction in effect. The script whose uid/gid is 12112/12112 is not allowed to access /home21b/sub004/sc21311-ULCX/candyoflove.com/session owned by uid/gid 12267/12267 in Unknown on line 0 ,please tell what changes make this script, i was using .htaccesss file..plz help me....   1
HOW we can use css IPsoft 3
what is the abbrevation of PHP? IBM 22
How can you "tell" MySQL server to cache a query?   2
difference of move(), and copy() function in php?   3
class Database { public static $_instance; public static function getInstance() { if(!isset(self::$_instance)) self::$_instance = new Database(DB_SERVER, DB_USER, DB_PASS, DB_NAME); print_r(self::$_instance); return self::$_instance; } } can any one explain "self::$_instance = new Database(DB_SERVER, DB_USER, DB_PASS, DB_NAME);" this line   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