How can we submit a form without a submit button?

Answer Posted / vikas uniyal

We have to use a javascript function:-


<script language="javascript" type="text/javascript">
document.formname.submit();
</script>

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of mysql_real_escape_string() function?

521


What is php and why it is used?

555


What is php programming used for?

507


How come the code works, but doesn’t for two-dimensional array of mine?

605


What is array filter in php?

557






What is strlen function in php?

518


How do I get csrf token?

559


What is artisan in php?

505


Can we use php variable in javascript?

536


What is the timeout period on session values?

573


What is input sanitization in php?

548


How to create database connection and query in php?

576


What is full form of PHP?

613


What is session management php?

536


What is binary safe string?

547