How can we submit a form without a submit button?
Answer Posted / anand chowdhary
This is the prefect answer:
<html><body>
<form action="what_ever.ext" method="post" name="MyForm">
<input type="hidden" name="hiddenfield1" value="<? echo $some_important_value; ?>">
</form>
<script language="javascript" type="text/javascript">
document.MyForm.submit();
</script>
<noscript><input type="submit" value="verify submit"></noscript>
</body></html>
| Is This Answer Correct ? | 18 Yes | 4 No |
Post New Answer View All Answers
What is the meaning of php?
What is polymorphism in oop php?
What is a php trait?
Which functions are used to count the total number of array elements in php?
Which framework is best for php development?
What does $globals mean?
Where is the functions php in wordpress?
How to find a specific value in an array?
What is a php session?
What does php mean?
Tell me what is use of in_array() function in php?
Can php variables have numbers?
How to execute an sql query?
How could I install codeignitor ?
What is the difference between myisam and innodb?