How can we submit a form without a submit buttom?

Answer Posted / abhishek anand

Use image element instead submit button
<input type="img" src="img_path/img_name.src">
give the action page name as action attribute in form
element like
<form name="myform' action="myaction.php">
The Image element will work very similar as submit button.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the empty function?

736


What is PHP's configuration file called?

771


Is it difficult to learn php?

715


What is php dependency injection?

699


What is php oop?

727


Write a program to swap two numbers using php.

774


Where php basically used?

774


List some features of php that are deprecated in php

702


Which is better session or cookie?

731


How do you clear environment variables?

725


Is overloading possible in php?

720


Does browser understand php?

680


Describe PHP error and logging information?

777


Why do we use interface in php?

725


Explain mail function in PHP with syntax?

762