How can we submit a form without a submit buttom?
Answers were Sorted based on User's Feedback
Answer / subrat
|Is This Answer Correct ?||34 Yes||4 No|
Answer / arvind pippal(delhi india)
form element/link and in the function you use any
document.formName.submit(); to submit the form
and above all ans is rights
|Is This Answer Correct ?||8 Yes||2 No|
Answer / abhishek anand
Use image element instead submit button
<input type="img" src="img_path/img_name.src">
give the action page name as action attribute in form
<form name="myform' action="myaction.php">
The Image element will work very similar as submit button.
|Is This Answer Correct ?||8 Yes||3 No|
Answer / jamal
|Is This Answer Correct ?||6 Yes||3 No|
Answer / ram gopal verma
alert('Please enter user id');
alert('Please enter password');
<form id="form1" name="form1" method="post" action="action.php" onsubmit="return validate()">
<input type="text" name="user_id" id="user_id" />
<input type="password" name="pass" id="pass" />
|Is This Answer Correct ?||2 Yes||0 No|
Answer / kelly baby
|Is This Answer Correct ?||0 Yes||1 No|
Answer / ashwani kumar(delhi)
1 Function OnChange();
2. Function OnClick()
|Is This Answer Correct ?||1 Yes||3 No|
Answer / nilotpal
|Is This Answer Correct ?||4 Yes||7 No|
Explain how to submit form without a submit button.
How to write a program to make chess?
How to write comment in php?
What are getters and setters and why are they important?
What types of images that PHP supports?
What is the difference between require_once and require in php?
•How to access crystal reports through PHP code?
1.Where are the cookies storing ? 2.What is the drawback of using cookies ? 3. If two site is having same cookie name and different values what will be the output if we echo the cookie name from those sites ? How can we solve this issue (How can we specify the domain name)?
How can I convert ereg expressions to preg in php?
What exactly is validating and sanitizing?
How to use validations in php?(codelgniter)