How can we submit a form without a submit button?

Answers were Sorted based on User's Feedback



How can we submit a form without a submit button? ..

Answer / 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

How can we submit a form without a submit button? ..

Answer / sakthiopr

document.Formname.action = "filename to be submit"

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More PHP Interview Questions

hi to all i am fresher in php and want to learn php and want a fresher job in php. how to total time i expend to learn php and what is freshers salary.

9 Answers  


WHat is the diff. between PHP4 and PHP5?

6 Answers   Clarion Technologies, IBM, OmniNet, Sparkton Infotech,


Where php language is used?

0 Answers  


Which character is used to match exactly one character?

0 Answers  


What is fulltextsearch

2 Answers   A1 Technology,






What is php and its features?

0 Answers  


What is the $_ server php_self variable?

0 Answers  


how to use http headers inside php? Write the statement through which it can be added?

0 Answers  


Describe session in php.

0 Answers  


How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

0 Answers  


Can we override static method?

0 Answers  


What is php glob?

0 Answers  


Categories