The jQuery hide()
method is used to hide selected HTML elements from the display. It takes in three arguments:
The following illustration goes over the syntax:
The following code snippet shows how to use the hide()
method. When the “show less” button is clicked, details about jQuery will be hidden:
Free Resources