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 are form input html tags?

565


How is it possible to know the number of rows returned in the result set?

552


Can you define an array argument as a reference type?

513


What happens if an expected input field was not submitted?

535


What is the major php security hole? How to avoid?

561






Which is better php or nodejs?

525


How can we access the data sent through the url with the post method?

515


What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?

541


Do you know what's the difference between __sleep and __wakeup?

534


What is null value in php?

577


Is php coding easy?

516


What is csrf token and how will you add csrf token in ajax?

529


How long does a session last in php?

521


What is the difference between $var and $$var?

560


How to submit form without a submit button.

545