Open In App

jQuery :reset Selector

Last Updated : 11 Jul, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

The jQuery :reset Selector is used to select the input element having a reset field button.i.e <input type="button">. 

Syntax: 

$(":reset")

Example 1: In this example, we will select the input element which has a reset field button by using jQuery :reset Selector.

Output:

  

Example 2: In this example, we will add a border to the input element which has a reset field button with click function.

Output:

 

Similar Reads