Computer Science, asked by vikashbeswal, 3 months ago

plz.. jis koo iss question ka answer surely pata h plz.. voo mujhe send kar deee
aur plz.. ye points ke liye mat iissse answer lik na varna m report kar doo gi ​

Attachments:

Answers

Answered by nandiniavasthi05
1

Explanation:

The <input type="reset"> defines a reset button which resets all form values to its initial values.

Tip: Avoid reset buttons in your forms! It is frustrating for users if they click them by mistake.

Answered by Shweka
1

Answer:

I had working code that could reset my form when I click on a reset button. However after my code is getting longer, I realize that it doesn't work anymore.

Explanation:

<div id="labels">

<table class="config">

<thead>

<tr>

<th colspan="4"; style= "padding-bottom: 20px; color:#6666FF; text-align:left; font-size: 1.5em">Control Buttons Configuration</th>

</tr>

<tr>

<th>Index</th>

<th>Switch</th>

<th>Response Number</th>

<th>Description</th>

</tr>

</thead>

<tbody>

<form id="configform" name= "input" action="#" method="get">

<tr>

<td style="text-align: center">1</td>

<td><img src= "static/switch.png" height="100px" width="108px"></td>

<td id="small"><input style="background: white; color: black;" type="text" value="" id="number_one"></td>

<td><input style="background: white; color: black;" type="text" id="label_one"></td>

</tr>

<tr>

<td style="text-align: center">2</td>

<td><img src= "static/switch.png" height="100px" width="108px"></td>

<td id="small"><input style="background: white; color: black;" type="text" id = "number_two" value=""></td>

<td><input style="background: white; color: black;" type="text" id = "label_two"></td>

</tr>

<tr>

<td style="text-align: center">3</td>

<td><img src= "static/switch.png" height="100px" width="108px"></td>

<td id="small"><input style="background: white; color: black;" type="text" id="number_three" value=""></td>

<td><input style="background: white; color: black;" type="text" id="label_three"></td>

</tr>

<tr>

<td style="text-align: center">4</td>

<td><img src= "static/switch.png" height="100px" width="108px"></td>

<td id="small"><input style="background: white; color: black;" type="text" id="number_four" value=""></td>

<td><input style="background: white; color: black;" type="text" id="label_three"></td>

</tr>

<tr>

<td></td>

<td><input type="submit" id="configsubmit" value="Submit"></td>

</tr>

<tr>

<td><input type="reset" id="configreset" value="Reset"></td>

</tr>

</form>

</tbody>

</table>

</div>

Similar questions