.show()
BrandonDusch580 total contributions
Published Aug 4, 2022Updated Aug 4, 2022
Contribute to Docs
The .show()
method shows a hidden HTML element.
Syntax
$(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.
Example
The following jQuery code will show the element selected with #hide
when the #show
element is clicked:
$("#show").click(function() {$("#hide").show();});
All contributors
- BrandonDusch580 total contributions
- StevenSwiniarski474 total contributions
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.