•How can we submit a form without a submit button

Answer Posted / bharat pradhan

<script type="text/javascript">
function pick()
{
document.form1.action="submit.php";
document.form1.submit();
}
</script>


<form name="form1" id="form1" method="post" onsubmit="pick()">
<input type="text" name="T1" id="T1">
</form>

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session_start () in php?

527


What is global array in php?

575


What is cookie?

537


What is htaccess in php?

612


What is the difference between php and java?

529






What is ltrim?

517


How to find the index of an element in an array php?

527


Declare a new variable in php equal to the number 3;

513


What is an example of a variable?

548


List some array functions in php?

506


What is the difference between Split and Explode in PHP?

576


What do you mean range() in php?

603


Is it easy to learn wordpress?

538


What is isset in php form?

536


How does php server work?

542