Published Aug 4, 2022Updated Aug 4, 2022
Contribute to Docs

The .show() method shows a hidden HTML element.


$(selector).show(speed, callback);
  • selector: Specifies the elements that will be shown.
  • speed(optional): Can be “slow” or “fast” or the number of milliseconds.
  • callback(optional): A function that is called once the element is displayed.


The following jQuery code will show the element selected with #hide when the #show element is clicked:

$("#show").click(function() {

All contributors

Looking to contribute?

Learn JavaScript on Codecademy