How can we submit a form without a submit buttom?

Answer Posted / koushik

Javascript form submit

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

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is phpsessid?

721


What is php artisan serve?

698


Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?

786


How do you measure variables?

761


What is the php function that removes the last element of the array and returns it?

724


Do you know how to enable error reporting in php?

702


Can I write php code in html file?

738


What is polymorphism in oop php?

741


Explain me is it possible to destroy a cookie?

757


What does $_env mean?

776


What is polymorphism with example in php?

705


What are the disadvantages of php?

720


Explain what does $_files means?

780


Tell me what are the functions to be used to get the image's properties (size, width and height)?

801


What are the different loops in php?

770