•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 kind of things have you done on the social side?

8576


Is numeric in php?

529


How to access a specific character in a string?

493


What is a collection in php?

513


What is difference between readonly and constant?

494






Where are sessions stored php?

513


What does $globals means?

518


Is php a cms?

522


How to uploaded files to a table?

551


What is the use of die in php?

512


Write a program to swap two numbers using php.

530


What is php oop?

502


How check field is empty or not in php?

532


Can we use session in mvc?

547


How arrays are used in php?

542