How can we submit a form without a submit button?

Answer Posted / guest

The main idea behind this is to use Java script submit()
function in
order to submit the form without explicitly clicking any
submit button.
You can attach the document.formname.submit() method to onclick,
onchange events of different inputs and perform the form
submission. you
can even built a timer function where you can automatically
submit the
form after xx seconds once the loading is done (can be seen
in online
test sites).

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How I can control asset documents without GR/IR?

1376


Why do we use interface in php?

707


Explain mysql_errno()?

733


What are php libraries?

694


Is php pass by reference or value?

737


What is xss and csrf?

687


Tell me what is the use of mysql_real_escape_string() function?

741


What are the array functions in php?

703


How big is varchar max?

761


Do you know what is the function func_num_args() used for?

745


What are the correct and the most two common way to start and finish a PHP block of code?

813


What is a php session?

755


Explain what are the different errors in php?

710


Which php global variable is used for uploading a file?

749


What are the 5 types of variables?

761