button type javascript

Solutions on MaxInterview for button type javascript by the best coders in the world

showing results for - "button type javascript"
Pablo
21 Jan 2020
1<!DOCTYPE html>
2<html>
3<body>
4
5<h1>The button type attribute</h1>
6
7<form action="/action_page.php" method="get">
8  <label for="fname">First name:</label>
9  <input type="text" id="fname" name="fname"><br><br>
10  <label for="lname">Last name:</label>
11  <input type="text" id="lname" name="lname"><br><br>
12  <button type="submit" value="Submit">Submit</button>
13  <button type="reset" value="Reset">Reset</button>
14</form>
15
16</body>
17</html>
18
queries leading to this page
js button typesbutton type javascript