jQuery | removeProp() with Examples
The removeProp() method is an inbuilt method in jQuery which is used to remove the property set by the prop() method. The prop() method is used to add property to a selected element.
Parameter: This method accepts single parameter property which is mandatory. It is used to specify the name of the property which needs to remove.
Return Value: This method returns the selected element with the specified property removed.
Below example illustrates the removeProp() method in jQuery: