Is it possible to submit a form with a dedicated button?
Answer / Shamendra
Yes, it is possible to submit a form with a dedicated button in HTML by using JavaScript or by using the `name` attribute of the button and naming it 'submit'. Here's an example:
<form action='my_page.php' method='post'>
<input type='text' name='username' />
<input type='submit' name='submit' value='Submit Form' />
</form>
| Is This Answer Correct ? | 0 Yes | 0 No |
What is http php?
Is php used anymore?
Is facebook still in php?
Write down the code for saving an uploaded file in PHP.
How can php and javascript interact?
What’s the special meaning of __sleep and __wakeup?
What are the differences between PHP 3 and PHP 4 and PHP 5?
Is php still relevant 2019?
Differentiate echo vs. Print statement.
Explain me how to include a file to a php page?
Explain what is the use of "echo" in php?
Describe the importance of DABA BASE ABSTRACTION LAYERS in PHP and database connection?