How can we submit a form without a submit buttom?

Answer Posted / koushik

document.FORM_NAME.action="page.php";
document.FORM_NAME.submit();

Is This Answer Correct ?    26 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of imagetypes() method?

718


How to protect special characters in query string?

701


Where are cookies stored php?

668


What does csrf token mean?

671


What is var_dump function in php?

759


What is form validation in php?

743


Is php closing tag necessary?

745


Explain how to execute a php script using command line.

769


How to close a session properly?

727


What is escape data in php?

694


How many keywords are there in php?

852


How many types of inheritances used in php and how we achieve it.

690


What is the use of nl2br() in php?

772


Is server side a session?

661


How to create a public static method in PHP?

752