How can we submit a form without a submit button?

Answer Posted / pankajbisane

<script>
function doSubmit()
{
var frm = window.document.frmName;
frm.action="path to php file";
frm.method = post;
frm.submit();
}
</script>

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain me how to include a file to a php page?

539


Explain how to execute a php script using command line.

552


How to convert numbers to strings in php?

513


How to calculate the length of a string?

548


How we can retrieve the data in the result set of mysql using php?

518






Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?

725


What is good average session duration?

536


What is the super method?

547


What is the difference between rest and soap?

561


What is a comment in php?

619


Which function is used to strip whitespace?

436


Where is session id stored?

511


Why do we use sessions in php?

523


Do you know how can php and html interact?

529


What is crypt () in php?

482